x86/cpu/amd: Enable the fixed Instructions Retired counter IRPERF
[linux-2.6-microblaze.git] / kernel / smp.c
index 3b7bedc..d0ada39 100644 (file)
@@ -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;
        }