diff options
Diffstat (limited to 'arch/x86/kernel/process_64.c')
-rw-r--r-- | arch/x86/kernel/process_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index db5eb963e4df..a8e53626ac9a 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c | |||
@@ -134,7 +134,10 @@ void cpu_idle(void) | |||
134 | */ | 134 | */ |
135 | local_irq_disable(); | 135 | local_irq_disable(); |
136 | enter_idle(); | 136 | enter_idle(); |
137 | /* Don't trace irqs off for idle */ | ||
138 | stop_critical_timings(); | ||
137 | pm_idle(); | 139 | pm_idle(); |
140 | start_critical_timings(); | ||
138 | /* In many cases the interrupt that ended idle | 141 | /* In many cases the interrupt that ended idle |
139 | has already called exit_idle. But some idle | 142 | has already called exit_idle. But some idle |
140 | loops can be woken up without interrupt. */ | 143 | loops can be woken up without interrupt. */ |