fb2805e4d8f3763e4a117793f8fc4f8b89283e67
[openwrt/staging/lynxis.git] /
1 From a48963920cbab4a54fb8c1a12cab6f51249c8938 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Tue, 5 Apr 2016 19:40:12 +0100
4 Subject: [PATCH 018/725] reboot: Use power off rather than busy spinning when
5 halt is requested
6
7 ---
8 arch/arm/kernel/reboot.c | 4 +---
9 1 file changed, 1 insertion(+), 3 deletions(-)
10
11 --- a/arch/arm/kernel/reboot.c
12 +++ b/arch/arm/kernel/reboot.c
13 @@ -105,9 +105,7 @@ void machine_shutdown(void)
14 */
15 void machine_halt(void)
16 {
17 - local_irq_disable();
18 - smp_send_stop();
19 - while (1);
20 + machine_power_off();
21 }
22
23 /*