]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[POWERPC] Cleanup pseries kexec code
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 8 Feb 2007 07:33:55 +0000 (18:33 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 Feb 2007 00:50:03 +0000 (11:50 +1100)
commitdce623e0827e8d0ad60ce7f385c3394bf1b0bae0
tree5fc868fc1f365a40a949614dfc3982fc02f9219c
parent8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854
[POWERPC] Cleanup pseries kexec code

Move all the pseries kexec code into one file, platforms/pseries/kexec.c
Provide helpers for setting up ppc_md.kexec_cpu_down, so that we don't
have to have #ifdef CONFIG_KEXEC in setup.c

Move the initialisation of the ppc_md kexec callbacks into an init routine.
This is well and truly early enough to cause no change in behaviour, we
can't kexec until userspace has given us a kernel to kexec into.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/kexec.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/setup.c