diff options
author | Helge Deller <deller@gmx.de> | 2017-03-29 08:25:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 09:30:34 +0200 |
commit | 99e354a59ac5e7920166e68903b4ad031ef933e3 (patch) | |
tree | 91bc6d9c6af10165bbf2a934e22ec0f7571771cf /arch | |
parent | 09b931fcb87c8aad178475a7db1d4bfc939f7faa (diff) | |
download | linux-stable-99e354a59ac5e7920166e68903b4ad031ef933e3.tar.gz linux-stable-99e354a59ac5e7920166e68903b4ad031ef933e3.tar.bz2 linux-stable-99e354a59ac5e7920166e68903b4ad031ef933e3.zip |
parisc: Avoid stalled CPU warnings after system shutdown
commit 476e75a44b56038bee9207242d4bc718f6b4de06 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-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 e81afc378850..e7ffde2758fc 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -140,6 +140,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 (;;); } |