Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4ff4d7f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

[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: default avatarLinus Torvalds <torvalds@osdl.org>
parent 49302d0c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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");