From: Rafael J. Wysocki Date: Mon, 27 Jul 2015 21:11:44 +0000 (+0200) Subject: cpufreq: Do not update related_cpus on every policy activation X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~4^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d1f3a5bcb489cc6f7cbc128e0c292fed7868d32;p=pandora-kernel.git cpufreq: Do not update related_cpus on every policy activation The related_cpus mask includes CPUs whose cpufreq_cpu_data per-CPU pointers have been set the the given policy. Since those pointers are only set at the policy creation time and unset when the policy is deleted, the related_cpus should not be updated between those two operations. For this reason, avoid updating it whenever the first of the "related" CPUs goes online. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- Reading git-diff-tree failed