提交 af2eb17b 编写于 作者: L Linus Torvalds

Add missing "local_irq_enable()" to C2/C3 exit logic

Silly bug crept in with the C2/C3 TIF_POLLING_NRFLAG fixes.
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 1b0997f5
...@@ -296,6 +296,7 @@ static void acpi_processor_idle(void) ...@@ -296,6 +296,7 @@ static void acpi_processor_idle(void)
smp_mb__after_clear_bit(); smp_mb__after_clear_bit();
if (need_resched()) { if (need_resched()) {
set_thread_flag(TIF_POLLING_NRFLAG); set_thread_flag(TIF_POLLING_NRFLAG);
local_irq_enable();
return; return;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册