Merge branch 'linus' into tracing/mmiotrace
[linux-2.6.git] / arch / x86 / kernel / process_32.c
index e2db9ac..347a7ab 100644 (file)
@@ -185,7 +185,10 @@ void cpu_idle(void)
 
                        local_irq_disable();
                        __get_cpu_var(irq_stat).idle_timestamp = jiffies;
+                       /* Don't trace irqs off for idle */
+                       stop_critical_timings();
                        idle();
+                       start_critical_timings();
                }
                tick_nohz_restart_sched_tick();
                preempt_enable_no_resched();