diff options
Diffstat (limited to 'kernel/sched/idle.c')
-rw-r--r-- | kernel/sched/idle.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 6c23e30c0e5c..257f4f0b4532 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c | |||
@@ -158,7 +158,7 @@ static void cpuidle_idle_call(void) | |||
158 | } | 158 | } |
159 | 159 | ||
160 | /* | 160 | /* |
161 | * Suspend-to-idle ("freeze") is a system state in which all user space | 161 | * Suspend-to-idle ("s2idle") is a system state in which all user space |
162 | * has been frozen, all I/O devices have been suspended and the only | 162 | * has been frozen, all I/O devices have been suspended and the only |
163 | * activity happens here and in iterrupts (if any). In that case bypass | 163 | * activity happens here and in iterrupts (if any). In that case bypass |
164 | * the cpuidle governor and go stratight for the deepest idle state | 164 | * the cpuidle governor and go stratight for the deepest idle state |
@@ -167,9 +167,9 @@ static void cpuidle_idle_call(void) | |||
167 | * until a proper wakeup interrupt happens. | 167 | * until a proper wakeup interrupt happens. |
168 | */ | 168 | */ |
169 | 169 | ||
170 | if (idle_should_freeze() || dev->use_deepest_state) { | 170 | if (idle_should_enter_s2idle() || dev->use_deepest_state) { |
171 | if (idle_should_freeze()) { | 171 | if (idle_should_enter_s2idle()) { |
172 | entered_state = cpuidle_enter_freeze(drv, dev); | 172 | entered_state = cpuidle_enter_s2idle(drv, dev); |
173 | if (entered_state > 0) { | 173 | if (entered_state > 0) { |
174 | local_irq_enable(); | 174 | local_irq_enable(); |
175 | goto exit_idle; | 175 | goto exit_idle; |