mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 10:49:28 +00:00
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>
This commit is contained in:
parent
2d544564f9
commit
1e548deb5d
1 changed files with 2 additions and 3 deletions
|
@ -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,
|
static void __meminit zone_init_free_lists(struct zone *zone)
|
||||||
struct zone *zone, unsigned long size)
|
|
||||||
{
|
{
|
||||||
int order, t;
|
int order, t;
|
||||||
for_each_migratetype_order(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);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue