diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-07-29 14:50:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 15:02:09 -0400 |
commit | 1108bae41e2ac596f46bc4cd8876b93063203d2b (patch) | |
tree | dafda7d00016ab17d34e7a83239c35b6b682812a /kernel | |
parent | d6d2a2ab05da6e44bd127fe375078bb7c36a0ad0 (diff) |
[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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sys.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 8f255259ef9e..000e81ad2c1d 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -392,7 +392,6 @@ void kernel_kexec(void) | |||
392 | } | 392 | } |
393 | notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); | 393 | notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); |
394 | system_state = SYSTEM_RESTART; | 394 | system_state = SYSTEM_RESTART; |
395 | device_suspend(PMSG_FREEZE); | ||
396 | device_shutdown(); | 395 | device_shutdown(); |
397 | printk(KERN_EMERG "Starting new kernel\n"); | 396 | printk(KERN_EMERG "Starting new kernel\n"); |
398 | machine_shutdown(); | 397 | machine_shutdown(); |