]> git.baikalelectronics.ru Git - kernel.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)
commitc33b0b899b81df29be5d5d67754d82b13112483a
treeff973c428ccfd92a2476fee7bdd9759badf2ba57
parentf93531bb6a98e756af592f37d5fe11276812d4e9
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