diff options
author | Helge Deller <deller@gmx.de> | 2017-03-29 08:25:30 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-03-29 21:50:38 +0200 |
commit | 476e75a44b56038bee9207242d4bc718f6b4de06 (patch) | |
tree | d483b9e89d5d81f57d4da0b8ddaf98426e106f02 /arch/parisc | |
parent | d19f5e41b344a057bb2450024a807476f30978d2 (diff) | |
download | linux-stable-476e75a44b56038bee9207242d4bc718f6b4de06.tar.gz linux-stable-476e75a44b56038bee9207242d4bc718f6b4de06.tar.bz2 linux-stable-476e75a44b56038bee9207242d4bc718f6b4de06.zip |
parisc: Avoid stalled CPU warnings after system shutdown
Commit 73580dac7618 ("parisc: Fix system shutdown halt") introduced an endless
loop for systems which don't provide a software power off function. But the
soft lockup detector will detect this and report stalled CPUs after some time.
Avoid those unwanted warnings by disabling the soft lockup detector.
Fixes: 73580dac7618 ("parisc: Fix system shutdown halt")
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 b76f503eee4a..4516a5b53f38 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -143,6 +143,8 @@ void machine_power_off(void) printk(KERN_EMERG "System shut down completed.\n" "Please power this system off now."); + /* prevent soft lockup/stalled CPU messages for endless loop. */ + rcu_sysrq_start(); for (;;); } |