]> err.no Git - linux-2.6/commitdiff
x86: enable irq in default_idle on 64-bit
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Wed, 30 Jan 2008 12:30:06 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:06 +0000 (13:30 +0100)
local_irq_enable() is missing after sched_clock_idle_wakeup_event().

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process_64.c

index 40fed477f3e5e488030a12735bcaa3b016dda28d..2c9e59448f4ccf4cc55e9086a44e7926f9dd53f5 100644 (file)
@@ -126,8 +126,8 @@ static void default_idle(void)
                t1 = ktime_get();
                t1n = ktime_to_ns(t1);
                sched_clock_idle_wakeup_event(t1n - t0n);
-       } else
-               local_irq_enable();
+       }
+       local_irq_enable();
        current_thread_info()->status |= TS_POLLING;
 }