aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/kthread.c2
-rw-r--r--mm/page_alloc.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index bbd51b81a3e8..a404f7ee7395 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -215,7 +215,7 @@ int kthread_stop(struct task_struct *k)
215EXPORT_SYMBOL(kthread_stop); 215EXPORT_SYMBOL(kthread_stop);
216 216
217 217
218static __init void kthreadd_setup(void) 218static noinline __init_refok void kthreadd_setup(void)
219{ 219{
220 struct task_struct *tsk = current; 220 struct task_struct *tsk = current;
221 221
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