diff options
author | Roland McGrath <roland@redhat.com> | 2008-04-22 15:21:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 11:35:47 -0400 |
commit | 562b80bafffaf42a6d916b0a2ee3d684220a1c10 (patch) | |
tree | 6e37c1519d3f9edf44ca3160b85832cfbf3c4cc9 /include/asm-x86 | |
parent | cdb69904794d2173176b1a58e849b7b39fced390 (diff) |
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')
-rw-r--r-- | include/asm-x86/ptrace.h | 2 |
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, | |||
231 | extern int do_set_thread_area(struct task_struct *p, int idx, | 231 | extern int do_set_thread_area(struct task_struct *p, int idx, |
232 | struct user_desc __user *info, int can_allocate); | 232 | struct user_desc __user *info, int can_allocate); |
233 | 233 | ||
234 | #define __ARCH_WANT_COMPAT_SYS_PTRACE | ||
235 | |||
234 | #endif /* __KERNEL__ */ | 236 | #endif /* __KERNEL__ */ |
235 | 237 | ||
236 | #endif /* !__ASSEMBLY__ */ | 238 | #endif /* !__ASSEMBLY__ */ |