X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fx86_64%2Fkernel%2Fsmp.c;h=9f74c883568c419909b6542449161d5b109f6b51;hb=8c131af1db510793f87dc43edbc8950a35370df3;hp=4f67697f5036faf1f37222ced236c0b3a04626c7;hpb=8a84fc15ae5cafcc366dd85cf8e1ab2040679abc;p=karo-tx-linux.git diff --git a/arch/x86_64/kernel/smp.c b/arch/x86_64/kernel/smp.c index 4f67697f5036..9f74c883568c 100644 --- a/arch/x86_64/kernel/smp.c +++ b/arch/x86_64/kernel/smp.c @@ -376,9 +376,8 @@ int smp_call_function_single (int cpu, void (*func) (void *info), void *info, /* prevent preemption and reschedule on another processor */ int me = get_cpu(); if (cpu == me) { - WARN_ON(1); put_cpu(); - return -EBUSY; + return 0; } spin_lock_bh(&call_lock); __smp_call_function_single(cpu, func, info, nonatomic, wait);