From 2e2ec17d6a0b85380ea7daddc4ddb6e2a451f39f Mon Sep 17 00:00:00 2001 From: Johnlay Park Date: Thu, 29 Mar 2018 16:19:12 +0900 Subject: [PATCH] cpufreq: acme: change the way of waking sibline Fixining bug of "cpufreq: acme: fix bug about power mode blocking" Change-Id: I539c454dbc9b72bbf51dfc3dc7ed8bcf910593a5 Signed-off-by: Johnlay Park --- drivers/soc/samsung/exynos-cpupm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/samsung/exynos-cpupm.c b/drivers/soc/samsung/exynos-cpupm.c index 78b7624f3019..5eb9f67ce4d3 100644 --- a/drivers/soc/samsung/exynos-cpupm.c +++ b/drivers/soc/samsung/exynos-cpupm.c @@ -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); } /* -- 2.20.1