diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index e9512b18580..5a381e6ea82 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -303,6 +303,7 @@ void kernel_restart_prepare(char *cmd) void kernel_restart(char *cmd) { kernel_restart_prepare(cmd); + disable_nonboot_cpus(); if (!cmd) printk(KERN_EMERG "Restarting system.\n"); else |