Skip to content

Commit 476e75a

Browse files
committed
parisc: Avoid stalled CPU warnings after system shutdown
Commit 73580da ("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: 73580da ("parisc: Fix system shutdown halt") Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # 4.9+
1 parent d19f5e4 commit 476e75a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/parisc/kernel/process.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ void machine_power_off(void)
143143
printk(KERN_EMERG "System shut down completed.\n"
144144
"Please power this system off now.");
145145

146+
/* prevent soft lockup/stalled CPU messages for endless loop. */
147+
rcu_sysrq_start();
146148
for (;;);
147149
}
148150

0 commit comments

Comments
 (0)