From: Johnlay Park Date: Thu, 29 Mar 2018 07:19:12 +0000 (+0900) Subject: cpufreq: acme: change the way of waking sibline X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e2ec17d6a0b85380ea7daddc4ddb6e2a451f39f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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); } /*