Browse Source

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 years ago
parent
commit
af2eb17bac
1 changed files with 1 additions and 0 deletions
  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;
 		}
 	}