]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()
authorShawn Guo <shawn.guo@linaro.org>
Fri, 7 Sep 2012 00:24:27 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 06:18:13 +0000 (16:18 +1000)
commitae6078925dd89003893cb733075ff785c19b0d60
tree5cead21ccea6bc727cef4ff3dd345796a9f94711
parent1ee0690c4ab3338325b5cc85be2e310b0ca7c089
kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()

As kernel_power_off() calls disable_nonboot_cpus(), we may also want to
have kernel_restart() call disable_nonboot_cpus().  Doing so can help
machines that require boot cpu be the last alive cpu during reboot to
survive with kernel restart.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/sys.c