diff options
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r-- | arch/x86/kernel/process_32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 9a139f6c9df3..0c3927accb00 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c | |||
@@ -142,7 +142,10 @@ void cpu_idle(void) | |||
142 | 142 | ||
143 | local_irq_disable(); | 143 | local_irq_disable(); |
144 | __get_cpu_var(irq_stat).idle_timestamp = jiffies; | 144 | __get_cpu_var(irq_stat).idle_timestamp = jiffies; |
145 | /* Don't trace irqs off for idle */ | ||
146 | stop_critical_timings(); | ||
145 | pm_idle(); | 147 | pm_idle(); |
148 | start_critical_timings(); | ||
146 | } | 149 | } |
147 | tick_nohz_restart_sched_tick(); | 150 | tick_nohz_restart_sched_tick(); |
148 | preempt_enable_no_resched(); | 151 | preempt_enable_no_resched(); |