diff options
-rw-r--r-- | arch/x86/kernel/smp_32.c | 7 | ||||
-rw-r--r-- | include/asm-x86/smp_32.h | 9 |
2 files changed, 10 insertions, 6 deletions
diff --git a/arch/x86/kernel/smp_32.c b/arch/x86/kernel/smp_32.c index 2d35d8502029..eebc6e82576c 100644 --- a/arch/x86/kernel/smp_32.c +++ b/arch/x86/kernel/smp_32.c | |||
@@ -705,3 +705,10 @@ struct smp_ops smp_ops = { | |||
705 | .smp_send_reschedule = native_smp_send_reschedule, | 705 | .smp_send_reschedule = native_smp_send_reschedule, |
706 | .smp_call_function_mask = native_smp_call_function_mask, | 706 | .smp_call_function_mask = native_smp_call_function_mask, |
707 | }; | 707 | }; |
708 | |||
709 | int smp_call_function_mask(cpumask_t mask, void (*func) (void *info), | ||
710 | void *info, int wait) | ||
711 | { | ||
712 | return smp_ops.smp_call_function_mask(mask, func, info, wait); | ||
713 | } | ||
714 | EXPORT_SYMBOL(smp_call_function_mask); | ||
diff --git a/include/asm-x86/smp_32.h b/include/asm-x86/smp_32.h index 955dd7c8538f..ee46038d126c 100644 --- a/include/asm-x86/smp_32.h +++ b/include/asm-x86/smp_32.h | |||
@@ -92,12 +92,9 @@ static inline void smp_send_reschedule(int cpu) | |||
92 | { | 92 | { |
93 | smp_ops.smp_send_reschedule(cpu); | 93 | smp_ops.smp_send_reschedule(cpu); |
94 | } | 94 | } |
95 | static inline int smp_call_function_mask(cpumask_t mask, | 95 | extern int smp_call_function_mask(cpumask_t mask, |
96 | void (*func) (void *info), void *info, | 96 | void (*func) (void *info), void *info, |
97 | int wait) | 97 | int wait); |
98 | { | ||
99 | return smp_ops.smp_call_function_mask(mask, func, info, wait); | ||
100 | } | ||
101 | 98 | ||
102 | void native_smp_prepare_boot_cpu(void); | 99 | void native_smp_prepare_boot_cpu(void); |
103 | void native_smp_prepare_cpus(unsigned int max_cpus); | 100 | void native_smp_prepare_cpus(unsigned int max_cpus); |