From 5f3e2be55d40c9305001e73ae7b12efd71308872 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Wed, 17 Oct 2007 18:04:33 +0200 Subject: [PATCH] --- yaml --- r: 70945 b: refs/heads/master c: 6442eea937ef797d4b66733f49c82e2fdc2aca6f h: refs/heads/master i: 70943: dda4f1c6fa87ea6bd6475ba52d0dd24e67656b71 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/smp_32.c | 7 +++++++ trunk/include/asm-x86/smp_32.h | 9 +++------ 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 943bb1cd1637..2dcbcbf5a1b9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f79eb83b3af419c4e079c8312b3c70fb6391117a +refs/heads/master: 6442eea937ef797d4b66733f49c82e2fdc2aca6f diff --git a/trunk/arch/x86/kernel/smp_32.c b/trunk/arch/x86/kernel/smp_32.c index 2d35d8502029..eebc6e82576c 100644 --- a/trunk/arch/x86/kernel/smp_32.c +++ b/trunk/arch/x86/kernel/smp_32.c @@ -705,3 +705,10 @@ struct smp_ops smp_ops = { .smp_send_reschedule = native_smp_send_reschedule, .smp_call_function_mask = native_smp_call_function_mask, }; + +int smp_call_function_mask(cpumask_t mask, void (*func) (void *info), + void *info, int wait) +{ + return smp_ops.smp_call_function_mask(mask, func, info, wait); +} +EXPORT_SYMBOL(smp_call_function_mask); diff --git a/trunk/include/asm-x86/smp_32.h b/trunk/include/asm-x86/smp_32.h index 955dd7c8538f..ee46038d126c 100644 --- a/trunk/include/asm-x86/smp_32.h +++ b/trunk/include/asm-x86/smp_32.h @@ -92,12 +92,9 @@ static inline void smp_send_reschedule(int cpu) { smp_ops.smp_send_reschedule(cpu); } -static inline int smp_call_function_mask(cpumask_t mask, - void (*func) (void *info), void *info, - int wait) -{ - return smp_ops.smp_call_function_mask(mask, func, info, wait); -} +extern int smp_call_function_mask(cpumask_t mask, + void (*func) (void *info), void *info, + int wait); void native_smp_prepare_boot_cpu(void); void native_smp_prepare_cpus(unsigned int max_cpus);