aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2013-08-02 20:52:49 +0100
committerRussell King <[email protected]>2013-08-13 20:23:18 +0100
commit2103f6cba61a8b8bea3fc1b63661d830a2125e76 (patch)
treeecc5f6e4df5631932b38e9eb1d8dd7cd8251ed2b /lib/mpi/mpi-bit.c
parent00efaa0250939dc148e2d3104fb3c18395d24a2d (diff)
ARM: 7807/1: kexec: validate CPU hotplug support
Architectures should fully validate whether kexec is possible as part of machine_kexec_prepare(), so that user-space's kexec_load() operation can report any problems. Performing validation in machine_kexec() itself is too late, since it is not allowed to return. Prior to this patch, ARM's machine_kexec() was testing after-the-fact whether machine_kexec_prepare() was able to disable all but one CPU. Instead, modify machine_kexec_prepare() to validate all conditions necessary for machine_kexec_prepare()'s to succeed. BUG if the validation succeeded, yet disabling the CPUs didn't actually work. Signed-off-by: Stephen Warren <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions