aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smp_64.c
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 /arch/x86/kernel/smp_64.c
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 'arch/x86/kernel/smp_64.c')
-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,
386 * You must not call this function with disabled interrupts or from a 386 * You must not call this function with disabled interrupts or from a
387 * hardware interrupt handler or from a bottom half handler. 387 * hardware interrupt handler or from a bottom half handler.
388 */ 388 */
389int smp_call_function_mask(cpumask_t mask, 389int native_smp_call_function_mask(cpumask_t mask,
390 void (*func)(void *), void *info, 390 void (*func)(void *), void *info,
391 int wait) 391 int wait)
392{ 392{
393 int ret; 393 int ret;
394 394
@@ -531,5 +531,6 @@ asmlinkage void smp_call_function_interrupt(void)
531 531
532struct smp_ops smp_ops = { 532struct smp_ops smp_ops = {
533 .smp_send_reschedule = native_smp_send_reschedule, 533 .smp_send_reschedule = native_smp_send_reschedule,
534 .smp_call_function_mask = native_smp_call_function_mask,
534}; 535};
535EXPORT_SYMBOL_GPL(smp_ops); 536EXPORT_SYMBOL_GPL(smp_ops);