aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-07-16 02:38:17 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:36 -0400
commit98011f569e2ae1e4ae394f6e23faa16676d50de4 (patch)
tree6cde069a3fd943c36d4029b21d8b7ad4c24811f6 /mm
parent140d5a49046b6d73dce4a4229e88c000a99ee126 (diff)
mm: fix improper .init-type section references
.. which modpost started warning about. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c16
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 */
2602static void __init account_node_boundary(unsigned int nid, 2602static 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,
2619void __init push_node_boundaries(unsigned int nid, 2619void __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
2622static void __init account_node_boundary(unsigned int nid, 2622static 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