diff options
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r-- | kernel/kexec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index 2810558802b6..b81682312dc4 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c | |||
@@ -1472,11 +1472,7 @@ int kernel_kexec(void) | |||
1472 | } else | 1472 | } else |
1473 | #endif | 1473 | #endif |
1474 | { | 1474 | { |
1475 | blocking_notifier_call_chain(&reboot_notifier_list, | 1475 | kernel_restart_prepare(NULL); |
1476 | SYS_RESTART, NULL); | ||
1477 | system_state = SYSTEM_RESTART; | ||
1478 | device_shutdown(); | ||
1479 | sysdev_shutdown(); | ||
1480 | printk(KERN_EMERG "Starting new kernel\n"); | 1476 | printk(KERN_EMERG "Starting new kernel\n"); |
1481 | machine_shutdown(); | 1477 | machine_shutdown(); |
1482 | } | 1478 | } |