mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
reboot: Use power off rather than busy spinning when halt is requested
This commit is contained in:
@@ -102,11 +102,7 @@ void machine_shutdown(void)
|
|||||||
*/
|
*/
|
||||||
void machine_halt(void)
|
void machine_halt(void)
|
||||||
{
|
{
|
||||||
local_irq_disable();
|
machine_power_off();
|
||||||
smp_send_stop();
|
|
||||||
|
|
||||||
local_irq_disable();
|
|
||||||
while (1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user