]> bbs.cooldavid.org Git - net-next-2.6.git/commit
powerpc: Add asm/syscall.h with the tracehook entry points
authorRoland McGrath <roland@redhat.com>
Sun, 27 Jul 2008 06:51:35 +0000 (16:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:49 +0000 (16:30 +1000)
commitf1ba12856b7a7d43e495e216bc91e6bbf7aac383
treedd222ece64f06306ef85272654b6251a29632739
parent4f72c4279eab1e5f3ed1ac4e55d4527617582392
powerpc: Add asm/syscall.h with the tracehook entry points

Add asm/syscall.h for powerpc with all the required entry points.
This will allow arch-independent tracing code for system calls.

BenH: Fixed up use of regs->trap to properly mask low bit

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/asm-powerpc/ptrace.h
include/asm-powerpc/syscall.h [new file with mode: 0644]