Skip to content

Commit

Permalink
[PATCH] Avoid device suspend on reboot
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 27, 2005
1 parent 49302d0 commit e4ff4d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e4ff4d7

Please sign in to comment.