RK3368 DDR: new ddr change freq method
[firefly-linux-kernel-4.4.55.git] / kernel / smp.c
index 23ccc67dcbb261b6a7dd127c919fe61692ecb97d..74ba5e2c037ca01f149023da7678ab1d964d972e 100644 (file)
@@ -666,7 +666,7 @@ void on_each_cpu_cond(bool (*cond_func)(int cpu, void *info),
                        if (cond_func(cpu, info)) {
                                ret = smp_call_function_single(cpu, func,
                                                                info, wait);
-                               WARN_ON_ONCE(!ret);
+                               WARN_ON_ONCE(ret);
                        }
                preempt_enable();
        }