aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-12-03 02:09:06 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-03 02:09:06 -0500
commitaf2eb17bac41a116b73d85b3fb160405c32bea5b (patch)
tree9d4a7d6f04f6c2f935179d7263e798adda0614d4 /drivers/acpi
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>
Diffstat (limited to 'drivers/acpi')
-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 acd875e0caca..5f51057518b0 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -296,6 +296,7 @@ static void acpi_processor_idle(void)
296 smp_mb__after_clear_bit(); 296 smp_mb__after_clear_bit();
297 if (need_resched()) { 297 if (need_resched()) {
298 set_thread_flag(TIF_POLLING_NRFLAG); 298 set_thread_flag(TIF_POLLING_NRFLAG);
299 local_irq_enable();
299 return; 300 return;
300 } 301 }
301 } 302 }