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 0324c1cd8e7b..006883113861 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -308,6 +308,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 |