powerpc/kexec: Switch to a static PACA on the way out
authorMatt Evans <matt@ozlabs.org>
Wed, 7 Jul 2010 21:55:37 +0000 (21:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 31 Jul 2010 04:56:30 +0000 (14:56 +1000)
With dynamic PACAs, the kexecing CPU's PACA won't lie within the kernel
static data and there is a chance that something may stomp it when preparing
to kexec.  This patch switches this final CPU to a static PACA just before
we pull the switch.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found