From: Andi Kleen Date: Tue, 5 Feb 2008 06:29:26 +0000 (-0800) Subject: page allocator: remove unused arguments in zone_init_free_lists() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e548deb5d1630ca14ba04da04e3b6b3766178c7;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git page allocator: remove unused arguments in zone_init_free_lists() Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 144c0967e702..55fe57cd99a1 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2546,8 +2546,7 @@ void __meminit memmap_init_zone(unsigned long size, int nid, unsigned long zone, } } -static void __meminit zone_init_free_lists(struct pglist_data *pgdat, - struct zone *zone, unsigned long size) +static void __meminit zone_init_free_lists(struct zone *zone) { int order, t; for_each_migratetype_order(order, t) { @@ -2820,7 +2819,7 @@ __meminit int init_currently_empty_zone(struct zone *zone, memmap_init(size, pgdat->node_id, zone_idx(zone), zone_start_pfn); - zone_init_free_lists(pgdat, zone, zone->spanned_pages); + zone_init_free_lists(zone); return 0; }