mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
parisc: Avoid stalled CPU warnings after system shutdown
commit476e75a44bupstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
37e6234297
commit
fc12a50f77
@@ -140,6 +140,8 @@ void machine_power_off(void)
|
|||||||
printk(KERN_EMERG "System shut down completed.\n"
|
printk(KERN_EMERG "System shut down completed.\n"
|
||||||
"Please power this system off now.");
|
"Please power this system off now.");
|
||||||
|
|
||||||
|
/* prevent soft lockup/stalled CPU messages for endless loop. */
|
||||||
|
rcu_sysrq_start();
|
||||||
for (;;);
|
for (;;);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user