Skip to content

Commit

Permalink
page allocator: remove unused arguments in zone_init_free_lists()
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Feb 5, 2008
1 parent 2d54456 commit 1e548de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 1e548de

Please sign in to comment.