aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms/pmac_cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/platforms/pmac_cpufreq.c')
-rw-r--r--arch/ppc/platforms/pmac_cpufreq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/platforms/pmac_cpufreq.c b/arch/ppc/platforms/pmac_cpufreq.c
index 48e482c8bd..937f46df71 100644
--- a/arch/ppc/platforms/pmac_cpufreq.c
+++ b/arch/ppc/platforms/pmac_cpufreq.c
@@ -271,6 +271,8 @@ static int __pmac pmu_set_cpu_speed(int low_speed)
271#ifdef DEBUG_FREQ 271#ifdef DEBUG_FREQ
272 printk(KERN_DEBUG "HID1, before: %x\n", mfspr(SPRN_HID1)); 272 printk(KERN_DEBUG "HID1, before: %x\n", mfspr(SPRN_HID1));
273#endif 273#endif
274 pmu_suspend();
275
274 /* Disable all interrupt sources on openpic */ 276 /* Disable all interrupt sources on openpic */
275 pic_prio = openpic_get_priority(); 277 pic_prio = openpic_get_priority();
276 openpic_set_priority(0xf); 278 openpic_set_priority(0xf);
@@ -345,6 +347,8 @@ static int __pmac pmu_set_cpu_speed(int low_speed)
345 debug_calc_bogomips(); 347 debug_calc_bogomips();
346#endif 348#endif
347 349
350 pmu_resume();
351
348 preempt_enable(); 352 preempt_enable();
349 353
350 return 0; 354 return 0;