Commit a51daa0d authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Fix compilation of powermac CPU frequency switching support.

parent 20faebca
...@@ -176,7 +176,7 @@ do_set_cpu_speed(int speed_mode) ...@@ -176,7 +176,7 @@ do_set_cpu_speed(int speed_mode)
freqs.old = cur_freq; freqs.old = cur_freq;
freqs.new = (speed_mode == PMAC_CPU_HIGH_SPEED) ? hi_freq : low_freq; freqs.new = (speed_mode == PMAC_CPU_HIGH_SPEED) ? hi_freq : low_freq;
freqs.cpu = CPUFREQ_ALL_CPUS; freqs.cpu = smp_processor_id();
cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE); cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
if (cpufreq_uses_pmu) if (cpufreq_uses_pmu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment