mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d6d2a2ab05
commit
1108bae41e
1 changed files with 0 additions and 1 deletions
|
@ -392,7 +392,6 @@ void kernel_kexec(void)
|
|||
}
|
||||
notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
|
||||
system_state = SYSTEM_RESTART;
|
||||
device_suspend(PMSG_FREEZE);
|
||||
device_shutdown();
|
||||
printk(KERN_EMERG "Starting new kernel\n");
|
||||
machine_shutdown();
|
||||
|
|
Loading…
Reference in a new issue