X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=kernel%2Fup.c;h=c6f323dcd45bb9efe1401b1b7893350667305493;hb=21b5ee59ef18e27d85810584caf1f7ddc705ea83;hp=53144d0562522e6d00824073f65ffa9926ae6261;hpb=332008256f1f7cd8294acd6e288fb821f685d1a9;p=linux-2.6-microblaze.git diff --git a/kernel/up.c b/kernel/up.c index 53144d056252..c6f323dcd45b 100644 --- a/kernel/up.c +++ b/kernel/up.c @@ -14,7 +14,8 @@ int smp_call_function_single(int cpu, void (*func) (void *info), void *info, { unsigned long flags; - WARN_ON(cpu != 0); + if (cpu != 0) + return -ENXIO; local_irq_save(flags); func(info);