aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-12-18 22:14:52 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-12 10:16:03 +0800
commit590e0195c21fe4f615b088bd4d835479b34a9706 (patch)
tree84a7ac1fc63a476baa75b0f3af4747013aa6056a
parentf2d1734f1390255a4a249f3c45550465588720e6 (diff)
downloadlinux-linaro-590e0195c21fe4f615b088bd4d835479b34a9706.tar.gz
arm/imx: cpufreq: remove loops_per_jiffy recalculate for smp
arm registered cpufreq transition notifier to recalculate it. Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
-rw-r--r--arch/arm/plat-mxc/cpufreq.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c
index 71e0d095996..058b1e6aad8 100644
--- a/arch/arm/plat-mxc/cpufreq.c
+++ b/arch/arm/plat-mxc/cpufreq.c
@@ -100,16 +100,6 @@ static int mxc_set_target(struct cpufreq_policy *policy,
ret = set_cpu_freq(freq_Hz);
-#ifdef CONFIG_SMP
- /* loops_per_jiffy is not updated by the cpufreq core for SMP systems.
- * So update it for all CPUs.
- */
- for_each_possible_cpu(cpu)
- per_cpu(cpu_data, cpu).loops_per_jiffy =
- cpufreq_scale(per_cpu(cpu_data, cpu).loops_per_jiffy,
- freqs.old, freqs.new);
-#endif
-
for_each_possible_cpu(cpu) {
freqs.cpu = cpu;
cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);