diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kernel/smp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index aa37fa154512..f5046fd4930f 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -225,12 +225,11 @@ EXPORT_SYMBOL(smp_call_function_single); | |||
225 | * You must not call this function with disabled interrupts or from a | 225 | * You must not call this function with disabled interrupts or from a |
226 | * hardware interrupt handler or from a bottom half handler. | 226 | * hardware interrupt handler or from a bottom half handler. |
227 | */ | 227 | */ |
228 | int | 228 | int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info, |
229 | smp_call_function_mask(cpumask_t mask, | 229 | int wait) |
230 | void (*func)(void *), void *info, | ||
231 | int wait) | ||
232 | { | 230 | { |
233 | preempt_disable(); | 231 | preempt_disable(); |
232 | cpu_clear(smp_processor_id(), mask); | ||
234 | __smp_call_function_map(func, info, 0, wait, mask); | 233 | __smp_call_function_map(func, info, 0, wait, mask); |
235 | preempt_enable(); | 234 | preempt_enable(); |
236 | return 0; | 235 | return 0; |