summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ptrace.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-04-22 21:21:25 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-26 17:35:47 +0200
commit562b80bafffaf42a6d916b0a2ee3d684220a1c10 (patch)
tree6e37c1519d3f9edf44ca3160b85832cfbf3c4cc9 /include/asm-x86/ptrace.h
parentx86_64 ia32 ptrace: use compat_ptrace_request for siginfo (diff)
downloadlinux-562b80bafffaf42a6d916b0a2ee3d684220a1c10.tar.xz
linux-562b80bafffaf42a6d916b0a2ee3d684220a1c10.zip
x86_64 ia32 ptrace: convert to compat_arch_ptrace
Now that there are no more special cases in sys32_ptrace, we can convert to using the generic compat_sys_ptrace entry point. The sys32_ptrace function gets simpler and becomes compat_arch_ptrace. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r--include/asm-x86/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h
index 24ec061566c5..9f922b0b95d6 100644
--- a/include/asm-x86/ptrace.h
+++ b/include/asm-x86/ptrace.h
@@ -231,6 +231,8 @@ extern int do_get_thread_area(struct task_struct *p, int idx,
extern int do_set_thread_area(struct task_struct *p, int idx,
struct user_desc __user *info, int can_allocate);
+#define __ARCH_WANT_COMPAT_SYS_PTRACE
+
#endif /* __KERNEL__ */
#endif /* !__ASSEMBLY__ */