summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/ptrace/Makefile
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2020-02-28 03:14:46 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-01 06:30:49 +0300
commit323a780ca1fccbf467cdace6c0de25459552083f (patch)
tree0d19036219d45872115ec341a9275a5ef4a55824 /arch/powerpc/kernel/ptrace/Makefile
parent6e0b79750ce2f3b9c9eabbb5687f343483abdc64 (diff)
downloadlinux-323a780ca1fccbf467cdace6c0de25459552083f.tar.xz
powerpc/ptrace: split out ADV_DEBUG_REGS related functions.
Move ADV_DEBUG_REGS functions out of ptrace.c, into ptrace-adv.c and ptrace-noadv.c Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [mpe: Squash in fixup patch from Christophe] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/e2bd7d275bd5933d848aad4fee3ca652a14d039b.1582848567.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/kernel/ptrace/Makefile')
-rw-r--r--arch/powerpc/kernel/ptrace/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ptrace/Makefile b/arch/powerpc/kernel/ptrace/Makefile
index 7addc5994bb9..e9d97c2d063e 100644
--- a/arch/powerpc/kernel/ptrace/Makefile
+++ b/arch/powerpc/kernel/ptrace/Makefile
@@ -14,3 +14,7 @@ endif
obj-$(CONFIG_ALTIVEC) += ptrace-altivec.o
obj-$(CONFIG_SPE) += ptrace-spe.o
obj-$(CONFIG_PPC_TRANSACTIONAL_MEM) += ptrace-tm.o
+obj-$(CONFIG_PPC_ADV_DEBUG_REGS) += ptrace-adv.o
+ifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y)
+obj-y += ptrace-noadv.o
+endif