[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 a740390..8f25525 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");