summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-12-02 23:09:06 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-02 23:09:06 -0800
commitaf2eb17bac41a116b73d85b3fb160405c32bea5b (patch)
tree9d4a7d6f04f6c2f935179d7263e798adda0614d4
parent1b0997f561bf46689cc6e0903f342e9bf2506bf1 (diff)
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>
-rw-r--r--drivers/acpi/processor_idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index acd875e0cac..5f51057518b 100644
--- a/drivers/acpi/processor_idle.c
+++ b/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;
}
}