提交 ee46d0fa 编写于 作者: P popcornmix 提交者: Zheng Zengkai

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

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 ff6c5424
...@@ -102,9 +102,7 @@ void machine_shutdown(void) ...@@ -102,9 +102,7 @@ void machine_shutdown(void)
*/ */
void machine_halt(void) void machine_halt(void)
{ {
local_irq_disable(); machine_power_off();
smp_send_stop();
while (1);
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册