brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/lynxis/omap.git] / target / linux / brcm2708 / patches-4.4 / 0229-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
1 From 45746412917e5d7f8298a6642788c9487737e25a 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 229/304] reboot: Use power off rather than busy spinning when
5 halt is requested
6
7 ---
8 arch/arm/kernel/reboot.c | 6 +-----
9 1 file changed, 1 insertion(+), 5 deletions(-)
10
11 --- a/arch/arm/kernel/reboot.c
12 +++ b/arch/arm/kernel/reboot.c
13 @@ -102,11 +102,7 @@ void machine_shutdown(void)
14 */
15 void machine_halt(void)
16 {
17 - local_irq_disable();
18 - smp_send_stop();
19 -
20 - local_irq_disable();
21 - while (1);
22 + machine_power_off();
23 }
24
25 /*