reboot: Use power off rather than busy spinning when halt is requested

This commit is contained in:
popcornmix
2016-04-05 19:40:12 +01:00
parent be3c64d082
commit df5f451a95

View File

@@ -102,11 +102,7 @@ void machine_shutdown(void)
*/
void machine_halt(void)
{
local_irq_disable();
smp_send_stop();
local_irq_disable();
while (1);
machine_power_off();
}
/*