aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/processor_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/pseries/processor_idle.c')
-rw-r--r--arch/powerpc/platforms/pseries/processor_idle.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/pseries/processor_idle.c b/arch/powerpc/platforms/pseries/processor_idle.c
index 94134a5aecaa..002d5b4112f2 100644
--- a/arch/powerpc/platforms/pseries/processor_idle.c
+++ b/arch/powerpc/platforms/pseries/processor_idle.c
@@ -17,7 +17,6 @@
17#include <asm/reg.h> 17#include <asm/reg.h>
18#include <asm/machdep.h> 18#include <asm/machdep.h>
19#include <asm/firmware.h> 19#include <asm/firmware.h>
20#include <asm/runlatch.h>
21#include <asm/plpar_wrappers.h> 20#include <asm/plpar_wrappers.h>
22 21
23struct cpuidle_driver pseries_idle_driver = { 22struct cpuidle_driver pseries_idle_driver = {
@@ -62,7 +61,6 @@ static int snooze_loop(struct cpuidle_device *dev,
62 set_thread_flag(TIF_POLLING_NRFLAG); 61 set_thread_flag(TIF_POLLING_NRFLAG);
63 62
64 while ((!need_resched()) && cpu_online(cpu)) { 63 while ((!need_resched()) && cpu_online(cpu)) {
65 ppc64_runlatch_off();
66 HMT_low(); 64 HMT_low();
67 HMT_very_low(); 65 HMT_very_low();
68 } 66 }
@@ -102,7 +100,6 @@ static int dedicated_cede_loop(struct cpuidle_device *dev,
102 idle_loop_prolog(&in_purr); 100 idle_loop_prolog(&in_purr);
103 get_lppaca()->donate_dedicated_cpu = 1; 101 get_lppaca()->donate_dedicated_cpu = 1;
104 102
105 ppc64_runlatch_off();
106 HMT_medium(); 103 HMT_medium();
107 check_and_cede_processor(); 104 check_and_cede_processor();
108 105