diff options
Diffstat (limited to 'arch/x86/kernel/reboot.c')
-rw-r--r-- | arch/x86/kernel/reboot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 724adfc63cb9..34f8d37ae3c5 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c | |||
@@ -461,6 +461,11 @@ static void native_machine_restart(char *__unused) | |||
461 | 461 | ||
462 | static void native_machine_halt(void) | 462 | static void native_machine_halt(void) |
463 | { | 463 | { |
464 | /* stop other cpus and apics */ | ||
465 | machine_shutdown(); | ||
466 | |||
467 | /* stop this cpu */ | ||
468 | stop_this_cpu(NULL); | ||
464 | } | 469 | } |
465 | 470 | ||
466 | static void native_machine_power_off(void) | 471 | static void native_machine_power_off(void) |