summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-07-27 10:41:23 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:46:37 -0700
commite4ff4d7f9d85a2bc714307eb9113617182e62845 (patch)
tree845bea10c10850e6bd842367aafddca66ca24a06
parent49302d0c42592b37f49ae96e0f06a3599cf5a8a0 (diff)
downloadop-kernel-dev-e4ff4d7f9d85a2bc714307eb9113617182e62845.zip
op-kernel-dev-e4ff4d7f9d85a2bc714307eb9113617182e62845.tar.gz
[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 <torvalds@osdl.org>
-rw-r--r--kernel/sys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index a7403903..8f25525 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");
OpenPOWER on IntegriCloud