diff options
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 7e033809ef5f..31ac41a73329 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -502,8 +502,7 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user | |||
502 | 502 | ||
503 | static void deferred_cad(void *dummy) | 503 | static void deferred_cad(void *dummy) |
504 | { | 504 | { |
505 | notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL); | 505 | kernel_restart(NULL); |
506 | machine_restart(NULL); | ||
507 | } | 506 | } |
508 | 507 | ||
509 | /* | 508 | /* |