From: Andrew Morton Date: Wed, 27 Jul 2005 17:41:23 +0000 (-0700) Subject: [PATCH] Avoid device suspend on reboot X-Git-Tag: v2.6.13-rc4~25^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e4ff4d7f9d85a2bc714307eb9113617182e62845;p=linux-2.6-omap-h63xx.git [PATCH] Avoid device suspend on reboot 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 --- diff --git a/kernel/sys.c b/kernel/sys.c index a74039036fb..8f255259ef9 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -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");