|
@@ -32,6 +32,7 @@
|
|
|
#include <linux/getcpu.h>
|
|
|
#include <linux/task_io_accounting_ops.h>
|
|
|
#include <linux/seccomp.h>
|
|
|
+#include <linux/cpu.h>
|
|
|
|
|
|
#include <linux/compat.h>
|
|
|
#include <linux/syscalls.h>
|
|
@@ -878,6 +879,7 @@ void kernel_power_off(void)
|
|
|
kernel_shutdown_prepare(SYSTEM_POWER_OFF);
|
|
|
if (pm_power_off_prepare)
|
|
|
pm_power_off_prepare();
|
|
|
+ disable_nonboot_cpus();
|
|
|
sysdev_shutdown();
|
|
|
printk(KERN_EMERG "Power down.\n");
|
|
|
machine_power_off();
|