Commit b224ef85 authored by Kautuk Consul's avatar Kautuk Consul Committed by Linus Torvalds

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: default avatarKautuk Consul <consul.kautuk@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8d13bddd
...@@ -4524,7 +4524,7 @@ static unsigned long __init early_calculate_totalpages(void) ...@@ -4524,7 +4524,7 @@ static unsigned long __init early_calculate_totalpages(void)
* memory. When they don't, some nodes will have more kernelcore than * memory. When they don't, some nodes will have more kernelcore than
* others * others
*/ */
static void __init find_zone_movable_pfns_for_nodes(unsigned long *movable_pfn) static void __init find_zone_movable_pfns_for_nodes(void)
{ {
int i, nid; int i, nid;
unsigned long usable_startpfn; unsigned long usable_startpfn;
...@@ -4716,7 +4716,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn) ...@@ -4716,7 +4716,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
/* Find the PFNs that ZONE_MOVABLE begins at in each node */ /* Find the PFNs that ZONE_MOVABLE begins at in each node */
memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn)); memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn));
find_zone_movable_pfns_for_nodes(zone_movable_pfn); find_zone_movable_pfns_for_nodes();
/* Print out the zone ranges */ /* Print out the zone ranges */
printk("Zone PFN ranges:\n"); printk("Zone PFN ranges:\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment