aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sys.c1
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();