[PATCH] Fix TIF_POLLING_NRFLAG in ACPI idle routines
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 2 Dec 2005 01:44:19 +0000 (12:44 +1100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 2 Dec 2005 22:20:21 +0000 (14:20 -0800)
commit2a298a35ebe060a6f2b06b20c2a34ea188ddfd37
tree226dd2569d657231a3c24d8228467a039ffc6681
parentdeda498710e190c7922c2634ed630ee64ce86c05
[PATCH] Fix TIF_POLLING_NRFLAG in ACPI idle routines

Commit 64c7c8f88559624abdbe12b5da6502e8879f8d28 broke the ACPI C2 and C3
sleep states, because it left TIF_POLLING_NRFLAG active even though
those states do not actually poll the reschedule flag at all.  As a
result, the CPU wouldn't get sent an IPI when it was to be woken up, and
would only notice that it had runnable processes on the next timer tick.

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