From: popcornmix Date: Tue, 5 Apr 2016 18:40:12 +0000 (+0100) Subject: reboot: Use power off rather than busy spinning when halt is requested X-Git-Tag: archive/raspbian/4.9.51-1+rpi1~5^2~509 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1932c4a8a7b1b27b10425f27a69c8aa15f9f7390;p=linux-4.9.git reboot: Use power off rather than busy spinning when halt is requested --- diff --git a/arch/arm/kernel/reboot.c b/arch/arm/kernel/reboot.c index 3fa867a2aae6..80dca8dcd670 100644 --- a/arch/arm/kernel/reboot.c +++ b/arch/arm/kernel/reboot.c @@ -102,9 +102,7 @@ void machine_shutdown(void) */ void machine_halt(void) { - local_irq_disable(); - smp_send_stop(); - while (1); + machine_power_off(); } /*