summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 18:12:35 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:53 +0200
commit64b1a21e0924dca7ea3b7cf4287fa719c8ba7fc5 (patch)
tree189bd464e319f2980d3832978b06a757d1d55092 /arch/x86/kernel
parentx86: merge smp_send_reschedule (diff)
downloadlinux-64b1a21e0924dca7ea3b7cf4287fa719c8ba7fc5.tar.xz
linux-64b1a21e0924dca7ea3b7cf4287fa719c8ba7fc5.zip
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 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/smp_64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/kernel/smp_64.c b/arch/x86/kernel/smp_64.c
index fd1816123496..225b765db5a2 100644
--- a/arch/x86/kernel/smp_64.c
+++ b/arch/x86/kernel/smp_64.c
@@ -386,9 +386,9 @@ static int __smp_call_function_mask(cpumask_t mask,
* You must not call this function with disabled interrupts or from a
* hardware interrupt handler or from a bottom half handler.
*/
-int smp_call_function_mask(cpumask_t mask,
- void (*func)(void *), void *info,
- int wait)
+int native_smp_call_function_mask(cpumask_t mask,
+ void (*func)(void *), void *info,
+ int wait)
{
int ret;
@@ -531,5 +531,6 @@ asmlinkage void smp_call_function_interrupt(void)
struct smp_ops smp_ops = {
.smp_send_reschedule = native_smp_send_reschedule,
+ .smp_call_function_mask = native_smp_call_function_mask,
};
EXPORT_SYMBOL_GPL(smp_ops);