diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-10-04 17:12:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:28:03 +0900 |
commit | faaeea39363ad54b3dfe23cc982e484f6e54aa5a (patch) | |
tree | e339b7a93b25a8ebe3e12ab30feadf9e0f61093e /CREDITS | |
parent | 7151b69f69f84e66c550b3033f4e2cc301b66f86 (diff) | |
download | kernel_samsung_smdk4412-faaeea39363ad54b3dfe23cc982e484f6e54aa5a.zip kernel_samsung_smdk4412-faaeea39363ad54b3dfe23cc982e484f6e54aa5a.tar.gz kernel_samsung_smdk4412-faaeea39363ad54b3dfe23cc982e484f6e54aa5a.tar.bz2 |
kernel/sys.c: call disable_nonboot_cpus() in kernel_restart()
commit f96972f2dc6365421cf2366ebd61ee4cf060c8d5 upstream.
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions