x86: compat_sys_ptrace
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
commitc269f19617f508cc5c29c0b064c1a437d7011a46
treeda49abc09dcf573df0580b305dba647a70306ac8
parent032d82d9065dec0e26718eca376c2029e4bd0595
x86: compat_sys_ptrace

This adds a generic definition of compat_sys_ptrace that calls
compat_arch_ptrace, parallel to sys_ptrace/arch_ptrace.  Some
machines needing this already define a function by that name.
The new generic function is defined only on machines that
put #define __ARCH_WANT_COMPAT_SYS_PTRACE into asm/ptrace.h.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/compat.h
kernel/ptrace.c