aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 17797d062c3b..a8a53f879dfe 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -149,7 +149,7 @@ static unsigned long __meminitdata dma_reserve;
149 static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES]; 149 static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES];
150#endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */ 150#endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */
151 unsigned long __initdata required_kernelcore; 151 unsigned long __initdata required_kernelcore;
152 unsigned long __initdata required_movablecore; 152 static unsigned long __initdata required_movablecore;
153 unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES]; 153 unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES];
154 154
155 /* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */ 155 /* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */
@@ -3644,7 +3644,7 @@ unsigned long __init find_max_pfn_with_active_regions(void)
3644 * Sum pages in active regions for movable zone. 3644 * Sum pages in active regions for movable zone.
3645 * Populate N_HIGH_MEMORY for calculating usable_nodes. 3645 * Populate N_HIGH_MEMORY for calculating usable_nodes.
3646 */ 3646 */
3647unsigned long __init early_calculate_totalpages(void) 3647static unsigned long __init early_calculate_totalpages(void)
3648{ 3648{
3649 int i; 3649 int i;
3650 unsigned long totalpages = 0; 3650 unsigned long totalpages = 0;