Skip to content

Commit 1e548de

Browse files
Andi KleenLinus Torvalds
authored andcommitted
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>
1 parent 2d54456 commit 1e548de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mm/page_alloc.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,8 +2546,7 @@ void __meminit memmap_init_zone(unsigned long size, int nid, unsigned long zone,
25462546
}
25472547
}
25482548

2549-
static void __meminit zone_init_free_lists(struct pglist_data *pgdat,
2550-
struct zone *zone, unsigned long size)
2549+
static void __meminit zone_init_free_lists(struct zone *zone)
25512550
{
25522551
int order, t;
25532552
for_each_migratetype_order(order, t) {
@@ -2820,7 +2819,7 @@ __meminit int init_currently_empty_zone(struct zone *zone,
28202819

28212820
memmap_init(size, pgdat->node_id, zone_idx(zone), zone_start_pfn);
28222821

2823-
zone_init_free_lists(pgdat, zone, zone->spanned_pages);
2822+
zone_init_free_lists(zone);
28242823

28252824
return 0;
28262825
}

0 commit comments

Comments
 (0)