Message ID | 20120825103257.GN31998@S2101-09.ap.freescale.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kernel/sys.c b/kernel/sys.c index 241507f..0359328 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -373,6 +373,7 @@ void kernel_restart(char *cmd) else printk(KERN_EMERG "Restarting system with command '%s'.\n", cmd); kmsg_dump(KMSG_DUMP_RESTART); + disable_nonboot_cpus(); machine_restart(cmd); } EXPORT_SYMBOL_GPL(kernel_restart);