diff options
| author | Helge Deller <deller@gmx.de> | 2017-03-29 02:25:30 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 03:30:34 -0400 |
| commit | 99e354a59ac5e7920166e68903b4ad031ef933e3 (patch) | |
| tree | 91bc6d9c6af10165bbf2a934e22ec0f7571771cf /arch/parisc/kernel | |
| parent | 09b931fcb87c8aad178475a7db1d4bfc939f7faa (diff) | |
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/parisc/kernel')
| -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) | |||
| 140 | printk(KERN_EMERG "System shut down completed.\n" | 140 | printk(KERN_EMERG "System shut down completed.\n" |
| 141 | "Please power this system off now."); | 141 | "Please power this system off now."); |
| 142 | 142 | ||
| 143 | /* prevent soft lockup/stalled CPU messages for endless loop. */ | ||
| 144 | rcu_sysrq_start(); | ||
| 143 | for (;;); | 145 | for (;;); |
| 144 | } | 146 | } |
| 145 | 147 | ||
