]> err.no Git - linux-2.6/commitdiff
Add missing "local_irq_enable()" to C2/C3 exit logic
authorLinus Torvalds <torvalds@g5.osdl.org>
Sat, 3 Dec 2005 07:09:06 +0000 (23:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 3 Dec 2005 07:09:06 +0000 (23:09 -0800)
Silly bug crept in with the C2/C3 TIF_POLLING_NRFLAG fixes.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/processor_idle.c

index acd875e0cacac3912a0c83a8f6549b343fd79176..5f51057518b04abd45d10d465ee8c5e95abb4254 100644 (file)
@@ -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;
                }
        }