aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smp_32.c
diff options
context:
space:
mode:
authorLaurent Vivier <Laurent.Vivier@bull.net>2007-10-17 12:04:33 -0400
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 14:15:21 -0400
commit6442eea937ef797d4b66733f49c82e2fdc2aca6f (patch)
tree95e73cf7eaa9e4c69475e1f9fc4b6359a4a86fa3 /arch/x86/kernel/smp_32.c
parentf79eb83b3af419c4e079c8312b3c70fb6391117a (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 'arch/x86/kernel/smp_32.c')
-rw-r--r--arch/x86/kernel/smp_32.c7
1 files changed, 7 insertions, 0 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
709int 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}
714EXPORT_SYMBOL(smp_call_function_mask);