parisc: tracehook_report_syscall
authorKyle McMartin <kyle@mcmartin.ca>
Mon, 27 Apr 2009 03:53:34 +0000 (23:53 -0400)
committerKyle McMartin <kyle@ihatethathostname.lab.bos.redhat.com>
Mon, 28 Sep 2009 03:07:21 +0000 (23:07 -0400)
commitd6b58772dc39262629708e5f3c30ef06de290894
treebed61d5aea5f655ca86a064f441df2f505e769e9
parent17d857be649a21ca90008c6dc425d849fa83db5c
parisc: tracehook_report_syscall

This makes parisc use the standard tracehook_report_syscall_entry
and tracehook_report_syscall_exit hooks in <linux/tracehook.h>.

To do this, we need to access current->thread.regs, and to know
whether we're entering or exiting the syscall, so add this to
syscall_trace.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/kernel/ptrace.c
arch/parisc/kernel/syscall.S