]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe163faa0665b5fab056222a9b2d5ed4ba968adc
tree3b7f0cb461a1ae1430553dcdb3da11e694bb4895
parent2599332e12f4c138c097f5d4d5281eab38b523b9
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