summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarch/arm/plat-mxc/cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/cpufreq.c b/arch/arm/plat-mxc/cpufreq.c
index 7a06aaec02e7..e7278d9501a5 100755
--- a/arch/arm/plat-mxc/cpufreq.c
+++ b/arch/arm/plat-mxc/cpufreq.c
@@ -219,7 +219,7 @@ static int mxc_set_target(struct cpufreq_policy *policy,
* So update it for all CPUs.
*/
- for_each_cpu(i, policy->cpus)
+ for_each_possible_cpu(i)
per_cpu(cpu_data, i).loops_per_jiffy =
cpufreq_scale(per_cpu(cpu_data, i).loops_per_jiffy,
freqs.old, freqs.new);