Skip to content

Commit

Permalink
reboot: Use power off rather than busy spinning when halt is requested
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 5, 2016
1 parent 3cea4c3 commit 3ce05d6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/arm/kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/*
Expand Down

0 comments on commit 3ce05d6

Please sign in to comment.