]> git.karo-electronics.de Git - karo-tx-linux.git/commit
parisc: Fix system shutdown halt
authorHelge Deller <deller@gmx.de>
Sat, 18 Mar 2017 16:13:27 +0000 (17:13 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 18 Mar 2017 16:27:45 +0000 (17:27 +0100)
commit73580dac7618e4bcd21679f553cf3c97323fec46
treeff973c428ccfd92a2476fee7bdd9759badf2ba57
parent74e3f6e63da6c8e8246fba1689e040bc926b4a1a
parisc: Fix system shutdown halt

On those parisc machines which don't provide a software power off
function, the system currently kills the init process at the end of a
shutdown and unexpectedly restarts insteads of halting.
Fix it by adding a loop which will not return.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # 4.9+
arch/parisc/kernel/process.c