mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
[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>
This commit is contained in:
parent
49302d0c42
commit
e4ff4d7f9d
1 changed files with 0 additions and 1 deletions
|
@ -371,7 +371,6 @@ void kernel_restart(char *cmd)
|
||||||
{
|
{
|
||||||
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
|
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, cmd);
|
||||||
system_state = SYSTEM_RESTART;
|
system_state = SYSTEM_RESTART;
|
||||||
device_suspend(PMSG_FREEZE);
|
|
||||||
device_shutdown();
|
device_shutdown();
|
||||||
if (!cmd) {
|
if (!cmd) {
|
||||||
printk(KERN_EMERG "Restarting system.\n");
|
printk(KERN_EMERG "Restarting system.\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue