summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-10-05 00:12:23 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 18:04:47 (GMT)
commitf96972f2dc6365421cf2366ebd61ee4cf060c8d5 (patch)
tree8a8aa56a74371a8b39f55184631ea34030a147a4 /include/target
parent9f6547a3209b78689ab8183630df87ca5e13fec0 (diff)
downloadlinux-f96972f2dc6365421cf2366ebd61ee4cf060c8d5.tar.xz
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. This fixes one reboot issue seen on imx6q (Cortex-A9 Quad). The machine requires that the restart routine be run on the primary cpu rather than secondary ones. Otherwise, the secondary core running the restart routine will fail to come to online after reboot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions