aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 12:12:35 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:53 -0400
commit64b1a21e0924dca7ea3b7cf4287fa719c8ba7fc5 (patch)
tree189bd464e319f2980d3832978b06a757d1d55092 /include/asm-x86/smp.h
parent8678969e60d80527d96d2af0011e72c87c9c1fe5 (diff)
x86: unify smp_call_function_mask
definition is moved to common header, x86_64 function name now is native_smp_call_function_mask Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r--include/asm-x86/smp.h7
1 files changed, 7 insertions, 0 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