Commit 39d44a51 authored by Hiroshi Shimamoto's avatar Hiroshi Shimamoto Committed by Ingo Molnar

x86: enable irq in default_idle on 64-bit

local_irq_enable() is missing after sched_clock_idle_wakeup_event().
Signed-off-by: default avatarHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5ee613b6
...@@ -126,8 +126,8 @@ static void default_idle(void) ...@@ -126,8 +126,8 @@ static void default_idle(void)
t1 = ktime_get(); t1 = ktime_get();
t1n = ktime_to_ns(t1); t1n = ktime_to_ns(t1);
sched_clock_idle_wakeup_event(t1n - t0n); sched_clock_idle_wakeup_event(t1n - t0n);
} else }
local_irq_enable(); local_irq_enable();
current_thread_info()->status |= TS_POLLING; current_thread_info()->status |= TS_POLLING;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment