diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-10-17 12:04:33 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:15:21 -0400 |
commit | 6442eea937ef797d4b66733f49c82e2fdc2aca6f (patch) | |
tree | 95e73cf7eaa9e4c69475e1f9fc4b6359a4a86fa3 /include/asm-x86/smp_32.h | |
parent | f79eb83b3af419c4e079c8312b3c70fb6391117a (diff) |
i386: export i386 smp_call_function_mask() to modules
This patch export i386 smp_call_function_mask() with EXPORT_SYMBOL().
This function is needed by KVM to call a function on a set of CPUs.
[ tglx: arch/x86 adaptation ]
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/smp_32.h')
-rw-r--r-- | include/asm-x86/smp_32.h | 9 |
1 files changed, 3 insertions, 6 deletions
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); |