aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/smp.h7
-rw-r--r--include/asm-x86/smp_32.h6
2 files changed, 7 insertions, 6 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index 28f33c03d793..d9782f4f469e 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -28,6 +28,13 @@ static inline void smp_send_reschedule(int cpu)
28{ 28{
29 smp_ops.smp_send_reschedule(cpu); 29 smp_ops.smp_send_reschedule(cpu);
30} 30}
31
32static inline int smp_call_function_mask(cpumask_t mask,
33 void (*func) (void *info), void *info,
34 int wait)
35{
36 return smp_ops.smp_call_function_mask(mask, func, info, wait);
37}
31#endif 38#endif
32 39
33#ifdef CONFIG_X86_32 40#ifdef CONFIG_X86_32
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h
index c60a3dd3e802..d9337ee8c2fc 100644
--- a/include/asm-x86/smp_32.h
+++ b/include/asm-x86/smp_32.h
@@ -60,12 +60,6 @@ static inline void smp_send_stop(void)
60{ 60{
61 smp_ops.smp_send_stop(); 61 smp_ops.smp_send_stop();
62} 62}
63static inline int smp_call_function_mask(cpumask_t mask,
64 void (*func) (void *info), void *info,
65 int wait)
66{
67 return smp_ops.smp_call_function_mask(mask, func, info, wait);
68}
69 63
70void native_smp_prepare_boot_cpu(void); 64void native_smp_prepare_boot_cpu(void);
71void native_smp_prepare_cpus(unsigned int max_cpus); 65void native_smp_prepare_cpus(unsigned int max_cpus);