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: accepted/tizen/unified/20200709.164653~1278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed040fe1c6b7d1989d9df194224144218f6fc219;p=platform%2Fkernel%2Flinux-rpi.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 bb18ed0..a8595ab 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(); } /*