* [PATCH] Remove unused arguments in zone_init_free_lists()
@ 2007-12-04 14:30 Andi Kleen
0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2007-12-04 14:30 UTC (permalink / raw)
To: linux-kernel
As subject says.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux/mm/page_alloc.c
===================================================================
--- linux.orig/mm/page_alloc.c
+++ linux-hack/mm/page_alloc.c
@@ -2561,8 +2561,7 @@ void __meminit memmap_init_zone(unsigned
}
}
-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) {
@@ -2841,7 +2840,7 @@ __meminit int init_currently_empty_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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-04 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04 14:30 [PATCH] Remove unused arguments in zone_init_free_lists() Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.