diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 817635f2ab62..183abf39b445 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1686,7 +1686,7 @@ static void __init calculate_zone_totalpages(struct pglist_data *pgdat, | |||
1686 | * up by free_all_bootmem() once the early boot process is | 1686 | * up by free_all_bootmem() once the early boot process is |
1687 | * done. Non-atomic initialization, single-pass. | 1687 | * done. Non-atomic initialization, single-pass. |
1688 | */ | 1688 | */ |
1689 | void __init memmap_init_zone(unsigned long size, int nid, unsigned long zone, | 1689 | void __devinit memmap_init_zone(unsigned long size, int nid, unsigned long zone, |
1690 | unsigned long start_pfn) | 1690 | unsigned long start_pfn) |
1691 | { | 1691 | { |
1692 | struct page *page; | 1692 | struct page *page; |
@@ -2407,7 +2407,7 @@ static void setup_per_zone_lowmem_reserve(void) | |||
2407 | * that the pages_{min,low,high} values for each zone are set correctly | 2407 | * that the pages_{min,low,high} values for each zone are set correctly |
2408 | * with respect to min_free_kbytes. | 2408 | * with respect to min_free_kbytes. |
2409 | */ | 2409 | */ |
2410 | static void setup_per_zone_pages_min(void) | 2410 | void setup_per_zone_pages_min(void) |
2411 | { | 2411 | { |
2412 | unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10); | 2412 | unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10); |
2413 | unsigned long lowmem_pages = 0; | 2413 | unsigned long lowmem_pages = 0; |