Skip to content

Commit a2f24fa

Browse files
committed
reboot: Use power off rather than busy spinning when halt is requested
1 parent 4359321 commit a2f24fa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎arch/arm/kernel/reboot.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ void machine_shutdown(void)
102102
*/
103103
void machine_halt(void)
104104
{
105-
local_irq_disable();
106-
smp_send_stop();
107-
while (1);
105+
machine_power_off();
108106
}
109107

110108
/*

0 commit comments

Comments
 (0)