aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:31:47 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:47 -0500
commit032d82d9065dec0e26718eca376c2029e4bd0595 (patch)
tree44cdb3296f25a9b2d5044fe1c12fbb03b085ac37 /include/linux/compat.h
parent16c3e389e7a7254ff8dc7029ac4fbe996c3c75bf (diff)
x86: compat_ptrace_request
This adds a compat_ptrace_request that is the analogue of ptrace_request for the things that 32-on-64 ptrace implementations can share in common. So far there are just a couple of requests handled generically. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index ba29d4c5964..a907fbede6c 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -243,6 +243,10 @@ asmlinkage long compat_sys_migrate_pages(compat_pid_t pid,
243 compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes, 243 compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes,
244 const compat_ulong_t __user *new_nodes); 244 const compat_ulong_t __user *new_nodes);
245 245
246extern int compat_ptrace_request(struct task_struct *child,
247 compat_long_t request,
248 compat_ulong_t addr, compat_ulong_t data);
249
246/* 250/*
247 * epoll (fs/eventpoll.c) compat bits follow ... 251 * epoll (fs/eventpoll.c) compat bits follow ...
248 */ 252 */