aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/setup.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-11-30 00:23:17 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-08 14:02:24 +1100
commit2440c01e10f07adcbc2094ba12ae4ad6094bd2b6 (patch)
tree5e14335ea80cf627a3037f348d4675d2ffa980ba /arch/powerpc/platforms/pseries/setup.c
parent549e88a134b3b393a4312e8d76628b9260eee57f (diff)
downloadlinaro-lsk-2440c01e10f07adcbc2094ba12ae4ad6094bd2b6.tar.gz
powerpc/kdump: Only save CPU state first time through the secondary CPU capture code
We might enter the secondary CPU capture code twice, eg if we have to unstick some CPUs with a system reset. In this case we don't want to overwrite the state on CPUs that had made it into the capture code OK, so use the cpus_state_saved cpumask for that and make it local to crash_ipi_callback. For controlling progress now use atomic_t cpus_in_crash to count how many CPUs have made it into the kdump code, and time_to_dump to tell everyone it's time to dump. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
0 files changed, 0 insertions, 0 deletions