summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace/Makefile
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2020-02-28 01:14:45 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-01 05:30:48 +0200
commit6e0b79750ce2f3b9c9eabbb5687f343483abdc64 (patch)
tree17d36fd5bb2f159773d51dfb4aa8856711895602 /arch/powerpc/kernel/ptrace/Makefile
parentpowerpc/ptrace: split out TRANSACTIONAL_MEM related functions. (diff)
downloadlinux-6e0b79750ce2f3b9c9eabbb5687f343483abdc64.tar.xz
linux-6e0b79750ce2f3b9c9eabbb5687f343483abdc64.zip
powerpc/ptrace: move register viewing functions out of ptrace.c
Create a dedicated ptrace-view.c file. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/bfd8c3ed57c9057e4a5d3816737b5ee98c6f7e43.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, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ptrace/Makefile b/arch/powerpc/kernel/ptrace/Makefile
index 2d7f5f301536..7addc5994bb9 100644
--- a/arch/powerpc/kernel/ptrace/Makefile
+++ b/arch/powerpc/kernel/ptrace/Makefile
@@ -3,9 +3,9 @@
# Makefile for the linux kernel.
#
-CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
+CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
-obj-y += ptrace.o
+obj-y += ptrace.o ptrace-view.o
obj-$(CONFIG_PPC64) += ptrace32.o
obj-$(CONFIG_VSX) += ptrace-vsx.o
ifneq ($(CONFIG_VSX),y)