]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 29 Jul 2005 18:50:57 +0000 (12:50 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 19:02:09 +0000 (12:02 -0700)
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>
kernel/sys.c

index 8f255259ef9e6ab8f395b2d1e208090b1968e4a6..000e81ad2c1d8320d6b5609e87baccba6a07ad52 100644 (file)
@@ -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();