Commit e4ff4d7f9d85a2bc714307eb9113617182e62845

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent 49302d0c42

[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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -371,7 +371,6 @@
371 371 {
372 372 notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
373 373 system_state = SYSTEM_RESTART;
374   - device_suspend(PMSG_FREEZE);
375 374 device_shutdown();
376 375 if (!cmd) {
377 376 printk(KERN_EMERG "Restarting system.\n");