powerpc/ptrace: Combine SYSCALL_EMU & SYSCALL_TRACE handling
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 16 Dec 2018 17:28:28 +0000 (20:28 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:21:20 +0000 (22:21 +1100)
commit8dbdec0bcb416d0ef0bfd737620d08f5160ac290
tree3b7f0cb461a1ae1430553dcdb3da11e694bb4895
parent25078dc1f74be16b858e914f52cc8f4d03c2271a
powerpc/ptrace: Combine SYSCALL_EMU & SYSCALL_TRACE handling

Combine the SYSCALL_EMU and SYSCALL_TRACE handling so that we only
call tracehook_report_syscall_entry() in one place.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
[mpe: Flesh out change log, s/cached_flags/flags/, reflow comments]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/ptrace.c