aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKautuk Consul <consul.kautuk@gmail.com>2012-03-21 19:34:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-21 20:55:00 -0400
commitb224ef856b1a5b949daff5937a9e187fe622b8f5 (patch)
tree7d119425e8734eba198f83dec781d8b9c6859923 /mm
parent8d13bddd11c10db40e2c81b4b224c11126691fc0 (diff)
page_alloc: remove unused find_zone_movable_pfns_for_nodes() argument
find_zone_movable_pfns_for_nodes() does not use its argument. Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com> Cc: David Rientjes <rientjes@google.com> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 70bbd0f9c381..caea788628e4 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4524,7 +4524,7 @@ static unsigned long __init early_calculate_totalpages(void)
4524 * memory. When they don't, some nodes will have more kernelcore than 4524 * memory. When they don't, some nodes will have more kernelcore than
4525 * others 4525 * others
4526 */ 4526 */
4527static void __init find_zone_movable_pfns_for_nodes(unsigned long *movable_pfn) 4527static void __init find_zone_movable_pfns_for_nodes(void)
4528{ 4528{
4529 int i, nid; 4529 int i, nid;
4530 unsigned long usable_startpfn; 4530 unsigned long usable_startpfn;
@@ -4716,7 +4716,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
4716 4716
4717 /* Find the PFNs that ZONE_MOVABLE begins at in each node */ 4717 /* Find the PFNs that ZONE_MOVABLE begins at in each node */
4718 memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn)); 4718 memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn));
4719 find_zone_movable_pfns_for_nodes(zone_movable_pfn); 4719 find_zone_movable_pfns_for_nodes();
4720 4720
4721 /* Print out the zone ranges */ 4721 /* Print out the zone ranges */
4722 printk("Zone PFN ranges:\n"); 4722 printk("Zone PFN ranges:\n");