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>
This commit is contained in:
committed by
Linus Torvalds
parent
8d13bddd11
commit
b224ef856b
@@ -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)
|
|||||||
|
|
||||||
/* 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");
|
||||||
|
Reference in New Issue
Block a user