mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
parisc: Avoid stalled CPU warnings after system shutdown
Commit73580dac76
("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:73580dac76
("parisc: Fix system shutdown halt") Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # 4.9+
This commit is contained in:
parent
d19f5e41b3
commit
476e75a44b
@ -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 (;;);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user