diff options
author | Helge Deller <deller@gmx.de> | 2017-07-25 22:41:41 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-07-25 22:43:38 +0300 |
commit | 56188832a50f09998cb570ba3771a1d25c193c0e (patch) | |
tree | 6d94be2ab5f84a6149766091818a52ea81792443 /arch/parisc | |
parent | c46bafc4d2536a079455706cf31582b67192d5b7 (diff) | |
download | linux-56188832a50f09998cb570ba3771a1d25c193c0e.tar.xz |
parisc: Suspend lockup detectors before system halt
Some machines can't power off the machine, so disable the lockup detectors to
avoid this watchdog BUG to show up every few seconds:
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [systemd-shutdow:1]
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.9+
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index b64d7d21646e..a45a67d526f8 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -53,6 +53,7 @@ #include <linux/uaccess.h> #include <linux/rcupdate.h> #include <linux/random.h> +#include <linux/nmi.h> #include <asm/io.h> #include <asm/asm-offsets.h> @@ -145,6 +146,7 @@ void machine_power_off(void) /* prevent soft lockup/stalled CPU messages for endless loop. */ rcu_sysrq_start(); + lockup_detector_suspend(); for (;;); } |