aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/ptrace32.c6
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;