]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Fix system shutdown halt
authorHelge Deller <deller@gmx.de>
Sat, 18 Mar 2017 16:13:27 +0000 (17:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Mar 2017 11:08:10 +0000 (13:08 +0200)
commitf194549ebe65d4a636cf24b67b41b2b1285e1d6e
tree823907de2232e0d96b0e99b061b2a878a508a1eb
parentf81a9940e5add737b77779e96eb2ac34bca1200e
parisc: Fix system shutdown halt

commit 73580dac7618e4bcd21679f553cf3c97323fec46 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/process.c