提交 1108bae4 编写于 作者: E Eric W. Biederman 提交者: Linus Torvalds

[PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec

If device_suspend(PMSG_FREEZE) is not ready to be called in
kernel_restart it is definitely not ready to be called in the even more
fickle kernel_kexec.
Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d6d2a2ab
...@@ -392,7 +392,6 @@ void kernel_kexec(void) ...@@ -392,7 +392,6 @@ void kernel_kexec(void)
} }
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
system_state = SYSTEM_RESTART; system_state = SYSTEM_RESTART;
device_suspend(PMSG_FREEZE);
device_shutdown(); device_shutdown();
printk(KERN_EMERG "Starting new kernel\n"); printk(KERN_EMERG "Starting new kernel\n");
machine_shutdown(); machine_shutdown();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册