[PATCH] Avoid device suspend on reboot
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Jul 2005 17:41:23 +0000 (10:41 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:46:37 +0000 (16:46 -0700)
My fairly ordinary x86 test box gets stuck during reboot on the
wait_for_completion() in ide_do_drive_cmd():

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sys.c

index a74039036fb47cf9d27896477add07d4f41cb063..8f255259ef9e6ab8f395b2d1e208090b1968e4a6 100644 (file)
@@ -371,7 +371,6 @@ void kernel_restart(char *cmd)
 {
        notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
        system_state = SYSTEM_RESTART;
-       device_suspend(PMSG_FREEZE);
        device_shutdown();
        if (!cmd) {
                printk(KERN_EMERG "Restarting system.\n");