[S390] Fix smp_call_function_mask semantics.

Make sure func isn't called on the local cpu just like on all other
architectures that implement this function.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by Heiko Carstens and committed by Martin Schwidefsky 37c5f719 a817a61f

+3 -4
+3 -4
arch/s390/kernel/smp.c
··· 225 225 * You must not call this function with disabled interrupts or from a 226 226 * hardware interrupt handler or from a bottom half handler. 227 227 */ 228 - int 229 - smp_call_function_mask(cpumask_t mask, 230 - void (*func)(void *), void *info, 231 - int wait) 228 + int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info, 229 + int wait) 232 230 { 233 231 preempt_disable(); 232 + cpu_clear(smp_processor_id(), mask); 234 233 __smp_call_function_map(func, info, 0, wait, mask); 235 234 preempt_enable(); 236 235 return 0;