diff options
author | Andi Kleen <ak@suse.de> | 2008-02-04 22:29:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:18 -0800 |
commit | 1e548deb5d1630ca14ba04da04e3b6b3766178c7 (patch) | |
tree | 0f5f6e1e92e9433014da15185c3dfcb27a200801 /mm/page_alloc.c | |
parent | 2d544564f9954860235db97df2e549a66c61f557 (diff) | |
download | op-kernel-dev-1e548deb5d1630ca14ba04da04e3b6b3766178c7.zip op-kernel-dev-1e548deb5d1630ca14ba04da04e3b6b3766178c7.tar.gz |
page allocator: remove unused arguments in zone_init_free_lists()
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 144c0967..55fe57c 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; } |