projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d54456
)
page allocator: remove unused arguments in zone_init_free_lists()
author
Andi Kleen
<
[email protected]
>
Tue, 5 Feb 2008 06:29:26 +0000
(22:29 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 5 Feb 2008 17:44:18 +0000
(09:44 -0800)
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index 144c0967e702612df10780fca91b7f587c6be42c..55fe57cd99a1148dbca12e3b7cf75327d894eb66 100644
(file)
--- 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;
}