aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/kernel/reboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/reboot.c b/arch/x86_64/kernel/reboot.c
index 3d1cc09406a6..47f95687905f 100644
--- a/arch/x86_64/kernel/reboot.c
+++ b/arch/x86_64/kernel/reboot.c
@@ -153,6 +153,9 @@ void machine_halt(void)
153 153
154void machine_power_off(void) 154void machine_power_off(void)
155{ 155{
156 if (!reboot_force) {
157 machine_shutdown();
158 }
156 if (pm_power_off) 159 if (pm_power_off)
157 pm_power_off(); 160 pm_power_off();
158} 161}