From: Hiroshi Shimamoto Date: Wed, 30 Jan 2008 12:30:06 +0000 (+0100) Subject: x86: enable irq in default_idle on 64-bit X-Git-Tag: v2.6.25-rc1~1143^2~861 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39d44a51474a52bec6d72d30ebc76f5159101d90;p=linux-2.6 x86: enable irq in default_idle on 64-bit local_irq_enable() is missing after sched_clock_idle_wakeup_event(). Signed-off-by: Hiroshi Shimamoto Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c index 40fed477f3..2c9e59448f 100644 --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -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; }