summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-02-08 18:33:55 +1100
committerPaul Mackerras <paulus@samba.org>2007-02-14 11:50:03 +1100
commitdce623e0827e8d0ad60ce7f385c3394bf1b0bae0 (patch)
tree5fc868fc1f365a40a949614dfc3982fc02f9219c /arch/powerpc/platforms/pseries/Makefile
parent8feaeca23ab8f520e7af2a862fd6ea8e7bfd8854 (diff)
downloadlinux-dce623e0827e8d0ad60ce7f385c3394bf1b0bae0.tar.gz
linux-dce623e0827e8d0ad60ce7f385c3394bf1b0bae0.tar.bz2
linux-dce623e0827e8d0ad60ce7f385c3394bf1b0bae0.zip
[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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/Makefile')
-rw-r--r--arch/powerpc/platforms/pseries/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/Makefile b/arch/powerpc/platforms/pseries/Makefile
index 69590fbf83da..dc0583bdbc63 100644
--- a/arch/powerpc/platforms/pseries/Makefile
+++ b/arch/powerpc/platforms/pseries/Makefile
@@ -9,6 +9,7 @@ obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_XICS) += xics.o
obj-$(CONFIG_SCANLOG) += scanlog.o
obj-$(CONFIG_EEH) += eeh.o eeh_cache.o eeh_driver.o eeh_event.o
+obj-$(CONFIG_KEXEC) += kexec.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug-cpu.o