]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/process_64.c
Merge branch 'linus' into tracing/sysprof
[linux-2.6] / arch / x86 / kernel / process_64.c
index c6eb5c91e5f607f7fb70758ed65eee667c7d1401..ea090e6cfe396fc4afc0d8b5c76ba6e4734f9a6f 100644 (file)
@@ -165,7 +165,10 @@ void cpu_idle(void)
                         */
                        local_irq_disable();
                        enter_idle();
+                       /* Don't trace irqs off for idle */
+                       stop_critical_timings();
                        idle();
+                       start_critical_timings();
                        /* In many cases the interrupt that ended idle
                           has already called exit_idle. But some idle
                           loops can be woken up without interrupt. */