aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/smp.h
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@infradead.org>2009-01-07 07:41:35 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-07 07:51:21 -0500
commit6e5385d44b2df05e50a8d07ba0e14d3e32685237 (patch)
tree12bff175cedd16bc0420cc8d2132d2093358cfb8 /arch/x86/include/asm/smp.h
parentdacf7333571d770366bff74d10b56aa545434605 (diff)
x86: smp.h move prefill_possible_map declartion to cpu.h
Impact: cleanup, moving NON-SMP stuff from smp.h Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/smp.h')
-rw-r--r--arch/x86/include/asm/smp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h
index 64c9e848f137..62bd3f68269a 100644
--- a/arch/x86/include/asm/smp.h
+++ b/arch/x86/include/asm/smp.h
@@ -138,8 +138,6 @@ void play_dead_common(void);
138void native_send_call_func_ipi(const struct cpumask *mask); 138void native_send_call_func_ipi(const struct cpumask *mask);
139void native_send_call_func_single_ipi(int cpu); 139void native_send_call_func_single_ipi(int cpu);
140 140
141extern void prefill_possible_map(void);
142
143void smp_store_cpu_info(int id); 141void smp_store_cpu_info(int id);
144#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu) 142#define cpu_physical_id(cpu) per_cpu(x86_cpu_to_apicid, cpu)
145 143
@@ -148,10 +146,6 @@ static inline int num_booting_cpus(void)
148{ 146{
149 return cpus_weight(cpu_callout_map); 147 return cpus_weight(cpu_callout_map);
150} 148}
151#else
152static inline void prefill_possible_map(void)
153{
154}
155#endif /* CONFIG_SMP */ 149#endif /* CONFIG_SMP */
156 150
157extern unsigned disabled_cpus __cpuinitdata; 151extern unsigned disabled_cpus __cpuinitdata;