瀏覽代碼

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: Linus Torvalds <torvalds@osdl.org>
Linus Torvalds 19 年之前
父節點
當前提交
af2eb17bac
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/acpi/processor_idle.c

+ 1 - 0
drivers/acpi/processor_idle.c

@@ -296,6 +296,7 @@ static void acpi_processor_idle(void)
 		smp_mb__after_clear_bit();
 		if (need_resched()) {
 			set_thread_flag(TIF_POLLING_NRFLAG);
+			local_irq_enable();
 			return;
 		}
 	}