diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-02-16 16:22:40 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:36 -0400 |
commit | 09276d905ef7498212ef69d5c324d027dc405896 (patch) | |
tree | 85e0d4a506e1ed1cb0f5c908e6ec41b2fdd1a01c /arch | |
parent | 54f2da755b7f0bf022ea204240cba824af4d80ad (diff) |
32-bit compatibility for ptrace GETEVENTMSG operation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/ptrace32.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/kernel/ptrace32.c b/arch/mips/kernel/ptrace32.c index eee207969c21..a8a72c9a1cca 100644 --- a/arch/mips/kernel/ptrace32.c +++ b/arch/mips/kernel/ptrace32.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/smp_lock.h> | 24 | #include <linux/smp_lock.h> |
25 | #include <linux/user.h> | 25 | #include <linux/user.h> |
26 | #include <linux/security.h> | 26 | #include <linux/security.h> |
27 | #include <linux/signal.h> | ||
28 | 27 | ||
29 | #include <asm/cpu.h> | 28 | #include <asm/cpu.h> |
30 | #include <asm/fpu.h> | 29 | #include <asm/fpu.h> |
@@ -273,6 +272,11 @@ asmlinkage int sys32_ptrace(int request, int pid, int addr, int data) | |||
273 | ret = ptrace_detach(child, data); | 272 | ret = ptrace_detach(child, data); |
274 | break; | 273 | break; |
275 | 274 | ||
275 | case PTRACE_GETEVENTMSG: | ||
276 | ret = put_user(child->ptrace_message, | ||
277 | (unsigned int __user *) (unsigned long) data); | ||
278 | break; | ||
279 | |||
276 | default: | 280 | default: |
277 | ret = ptrace_request(child, request, addr, data); | 281 | ret = ptrace_request(child, request, addr, data); |
278 | break; | 282 | break; |