X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=kernel%2Fsmp.c;h=d0ada39eb4d41bb4a246d28bec3f7ed4ba9d8c2a;hb=ed5fa5591866f95be1fe75cd267cf9df2c0390f5;hp=3b7bedc97af38d004f74439b4e587d9666e42580;hpb=740eaf7d4dd255789987a543b0203ca239b37087;p=linux.git diff --git a/kernel/smp.c b/kernel/smp.c index 3b7bedc97af3..d0ada39eb4d4 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -435,7 +435,7 @@ static void smp_call_function_many_cond(const struct cpumask *mask, /* Fastpath: do that cpu by itself. */ if (next_cpu >= nr_cpu_ids) { - if (!cond_func || (cond_func && cond_func(cpu, info))) + if (!cond_func || cond_func(cpu, info)) smp_call_function_single(cpu, func, info, wait); return; }