aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-01-30 07:30:06 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:06 -0500
commit39d44a51474a52bec6d72d30ebc76f5159101d90 (patch)
treee8d2fa7a68b3374e347deb8dd5c1a55daab0932b /arch/x86
parent5ee613b6751cd91db4b6bd7c1dc9d2f9cf65cde2 (diff)
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 <h-shimamoto@ct.jp.nec.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/process_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index 40fed477f3e5..2c9e59448f4c 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -126,8 +126,8 @@ static void default_idle(void)
126 t1 = ktime_get(); 126 t1 = ktime_get();
127 t1n = ktime_to_ns(t1); 127 t1n = ktime_to_ns(t1);
128 sched_clock_idle_wakeup_event(t1n - t0n); 128 sched_clock_idle_wakeup_event(t1n - t0n);
129 } else 129 }
130 local_irq_enable(); 130 local_irq_enable();
131 current_thread_info()->status |= TS_POLLING; 131 current_thread_info()->status |= TS_POLLING;
132} 132}
133 133