summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-07-25 21:41:41 +0200
committerHelge Deller <deller@gmx.de>2017-07-25 21:43:38 +0200
commit56188832a50f09998cb570ba3771a1d25c193c0e (patch)
tree6d94be2ab5f84a6149766091818a52ea81792443 /arch/parisc/kernel
parentparisc: Show DIMM slot number which holds broken memory module (diff)
downloadlinux-56188832a50f09998cb570ba3771a1d25c193c0e.tar.xz
linux-56188832a50f09998cb570ba3771a1d25c193c0e.zip
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/kernel')
-rw-r--r--arch/parisc/kernel/process.c2
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 (;;);
}