cpufreq: acme: change the way of waking sibline
authorJohnlay Park <jonglae.park@samsung.com>
Thu, 29 Mar 2018 07:19:12 +0000 (16:19 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:33:21 +0000 (17:33 +0900)
Fixining bug of
"cpufreq: acme: fix bug about power mode blocking"

Change-Id: I539c454dbc9b72bbf51dfc3dc7ed8bcf910593a5
Signed-off-by: Johnlay Park <jonglae.park@samsung.com>
drivers/soc/samsung/exynos-cpupm.c

index 78b7624f3019fae57dc6bf94d3cf574eb55c110b..5eb9f67ce4d3c29eafb7dbd8f56d450f1f808ca9 100644 (file)
@@ -437,10 +437,10 @@ static void do_nothing(void *unused)
 
 static void awake_cpus(const struct cpumask *cpus)
 {
-       struct cpumask mask;
+       int cpu;
 
-       cpumask_and(&mask, cpus, cpu_online_mask);
-       smp_call_function_many(&mask, do_nothing, NULL, 1);
+       for_each_cpu_and(cpu, cpus, cpu_online_mask)
+               smp_call_function_single(cpu, do_nothing, NULL, 1);
 }
 
 /*