powerpc: Make syscall tracing use tracehook.h helpers
authorRoland McGrath <roland@redhat.com>
Sun, 27 Jul 2008 06:51:03 +0000 (16:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:49 +0000 (16:30 +1000)
commit4f72c4279eab1e5f3ed1ac4e55d4527617582392
tree5a170211e0206d4d17a008dec9c88827c95c1152
parent6558ba2b5cc3a2f22039db30616fcd07c1b28ac8
powerpc: Make syscall tracing use tracehook.h helpers

This changes powerpc syscall tracing to use the new tracehook.h entry
points.  There is no change, only cleanup.

In addition, the assembly changes allow do_syscall_trace_enter() to
abort the syscall without losing the information about the original
r0 value.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/ptrace.c