powerpc/ptrace: split out ADV_DEBUG_REGS related functions.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 28 Feb 2020 00:14:46 +0000 (00:14 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 1 Apr 2020 03:30:49 +0000 (14:30 +1100)
commit323a780ca1fccbf467cdace6c0de25459552083f
tree0d19036219d45872115ec341a9275a5ef4a55824
parent6e0b79750ce2f3b9c9eabbb5687f343483abdc64
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
arch/powerpc/kernel/ptrace/Makefile
arch/powerpc/kernel/ptrace/ptrace-adv.c [new file with mode: 0644]
arch/powerpc/kernel/ptrace/ptrace-decl.h
arch/powerpc/kernel/ptrace/ptrace-noadv.c [new file with mode: 0644]
arch/powerpc/kernel/ptrace/ptrace.c