Skip to content

Commit 323a780

Browse files
chleroympe
authored andcommitted
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 <[email protected]> [mpe: Squash in fixup patch from Christophe] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/e2bd7d275bd5933d848aad4fee3ca652a14d039b.1582848567.git.christophe.leroy@c-s.fr
1 parent 6e0b797 commit 323a780

File tree

5 files changed

+709
-650
lines changed

5 files changed

+709
-650
lines changed

arch/powerpc/kernel/ptrace/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ endif
1414
obj-$(CONFIG_ALTIVEC) += ptrace-altivec.o
1515
obj-$(CONFIG_SPE) += ptrace-spe.o
1616
obj-$(CONFIG_PPC_TRANSACTIONAL_MEM) += ptrace-tm.o
17+
obj-$(CONFIG_PPC_ADV_DEBUG_REGS) += ptrace-adv.o
18+
ifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y)
19+
obj-y += ptrace-noadv.o
20+
endif

0 commit comments

Comments
 (0)