aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-12-17 05:08:55 -0500
committerPaul Mackerras <paulus@samba.org>2008-12-22 23:13:28 -0500
commit322b439455ea62e6480e300c77b258e872896381 (patch)
treef79b7ac590f7a9448915ffb12a5188ed3b309f49 /arch/powerpc/kernel/Makefile
parent5be8554875bf3a1a42b7f04d5999b36e7c2fa88b (diff)
powerpc: Prepare xmon_save_regs for use with kdump
Today the arch/powerpc/xmon/setjmp.S file contains only the xmon_save_regs function. We want to use it for kdump purposes, so let's move the file into arch/powerpc/kernel/ and give the function a more generic name (ppc_save_regs). Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 92673b43858d..616c8891d858 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -102,6 +102,10 @@ endif
102 102
103obj-$(CONFIG_PPC64) += $(obj64-y) 103obj-$(CONFIG_PPC64) += $(obj64-y)
104 104
105ifneq ($(CONFIG_XMON),)
106obj-y += ppc_save_regs.o
107endif
108
105extra-$(CONFIG_PPC_FPU) += fpu.o 109extra-$(CONFIG_PPC_FPU) += fpu.o
106extra-$(CONFIG_PPC64) += entry_64.o 110extra-$(CONFIG_PPC64) += entry_64.o
107 111