diff options
Diffstat (limited to 'drivers/char/apm-emulation.c')
-rw-r--r-- | drivers/char/apm-emulation.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/apm-emulation.c b/drivers/char/apm-emulation.c index f4837a893dfa..46118f845948 100644 --- a/drivers/char/apm-emulation.c +++ b/drivers/char/apm-emulation.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/kthread.h> | 31 | #include <linux/kthread.h> |
32 | #include <linux/delay.h> | 32 | #include <linux/delay.h> |
33 | 33 | ||
34 | #include <asm/system.h> | ||
35 | 34 | ||
36 | /* | 35 | /* |
37 | * The apm_bios device is one of the misc char devices. | 36 | * The apm_bios device is one of the misc char devices. |
@@ -302,7 +301,7 @@ apm_ioctl(struct file *filp, u_int cmd, u_long arg) | |||
302 | * anything critical, chill a bit on each iteration. | 301 | * anything critical, chill a bit on each iteration. |
303 | */ | 302 | */ |
304 | while (wait_event_freezable(apm_suspend_waitqueue, | 303 | while (wait_event_freezable(apm_suspend_waitqueue, |
305 | as->suspend_state == SUSPEND_DONE)) | 304 | as->suspend_state != SUSPEND_ACKED)) |
306 | msleep(10); | 305 | msleep(10); |
307 | break; | 306 | break; |
308 | case SUSPEND_ACKTO: | 307 | case SUSPEND_ACKTO: |