diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 8dadda6e1feb..0161cb6a56d9 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -126,13 +126,13 @@ static unsigned long __meminitdata dma_reserve; | |||
126 | #endif | 126 | #endif |
127 | #endif | 127 | #endif |
128 | 128 | ||
129 | struct node_active_region __meminitdata early_node_map[MAX_ACTIVE_REGIONS]; | 129 | static struct node_active_region __meminitdata early_node_map[MAX_ACTIVE_REGIONS]; |
130 | int __meminitdata nr_nodemap_entries; | 130 | static int __meminitdata nr_nodemap_entries; |
131 | unsigned long __meminitdata arch_zone_lowest_possible_pfn[MAX_NR_ZONES]; | 131 | static unsigned long __meminitdata arch_zone_lowest_possible_pfn[MAX_NR_ZONES]; |
132 | unsigned long __meminitdata arch_zone_highest_possible_pfn[MAX_NR_ZONES]; | 132 | static unsigned long __meminitdata arch_zone_highest_possible_pfn[MAX_NR_ZONES]; |
133 | #ifdef CONFIG_MEMORY_HOTPLUG_RESERVE | 133 | #ifdef CONFIG_MEMORY_HOTPLUG_RESERVE |
134 | unsigned long __initdata node_boundary_start_pfn[MAX_NUMNODES]; | 134 | static unsigned long __meminitdata node_boundary_start_pfn[MAX_NUMNODES]; |
135 | unsigned long __initdata node_boundary_end_pfn[MAX_NUMNODES]; | 135 | static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES]; |
136 | #endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */ | 136 | #endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */ |
137 | #endif /* CONFIG_ARCH_POPULATES_NODE_MAP */ | 137 | #endif /* CONFIG_ARCH_POPULATES_NODE_MAP */ |
138 | 138 | ||
@@ -2599,7 +2599,7 @@ void __init push_node_boundaries(unsigned int nid, | |||
2599 | } | 2599 | } |
2600 | 2600 | ||
2601 | /* If necessary, push the node boundary out for reserve hotadd */ | 2601 | /* If necessary, push the node boundary out for reserve hotadd */ |
2602 | static void __init account_node_boundary(unsigned int nid, | 2602 | static void __meminit account_node_boundary(unsigned int nid, |
2603 | unsigned long *start_pfn, unsigned long *end_pfn) | 2603 | unsigned long *start_pfn, unsigned long *end_pfn) |
2604 | { | 2604 | { |
2605 | printk(KERN_DEBUG "Entering account_node_boundary(%u, %lu, %lu)\n", | 2605 | printk(KERN_DEBUG "Entering account_node_boundary(%u, %lu, %lu)\n", |
@@ -2619,7 +2619,7 @@ static void __init account_node_boundary(unsigned int nid, | |||
2619 | void __init push_node_boundaries(unsigned int nid, | 2619 | void __init push_node_boundaries(unsigned int nid, |
2620 | unsigned long start_pfn, unsigned long end_pfn) {} | 2620 | unsigned long start_pfn, unsigned long end_pfn) {} |
2621 | 2621 | ||
2622 | static void __init account_node_boundary(unsigned int nid, | 2622 | static void __meminit account_node_boundary(unsigned int nid, |
2623 | unsigned long *start_pfn, unsigned long *end_pfn) {} | 2623 | unsigned long *start_pfn, unsigned long *end_pfn) {} |
2624 | #endif | 2624 | #endif |
2625 | 2625 | ||