]> 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>
Fri, 7 Sep 2012 05:36:25 +0000 (15:36 +1000)
commite8fdafb62d35c2ab65f6b81e060d209252742873
treeddfb1bab30f5986353891fc0b2a8cbce1b0b27c6
parentf20a6d1ee0fa8c2a21fd2504c905c7df9c3211c6
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