aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/ptrace32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-04-13 13:43:59 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:31:06 -0400
commit3c37026d43c47bec4710cbda286f4a17f416f5e6 (patch)
tree8bf206dc3ee4337ac9839c0e9e26ec4513996670 /arch/mips/kernel/ptrace32.c
parent38551576a35f1b48b6b359470d6e876c5b671ab6 (diff)
NPTL, round one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/ptrace32.c')
-rw-r--r--arch/mips/kernel/ptrace32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/kernel/ptrace32.c b/arch/mips/kernel/ptrace32.c
index a8a72c9a1cca..eb446e525908 100644
--- a/arch/mips/kernel/ptrace32.c
+++ b/arch/mips/kernel/ptrace32.c
@@ -268,6 +268,11 @@ asmlinkage int sys32_ptrace(int request, int pid, int addr, int data)
268 wake_up_process(child); 268 wake_up_process(child);
269 break; 269 break;
270 270
271 case PTRACE_GET_THREAD_AREA:
272 ret = put_user(child->thread_info->tp_value,
273 (unsigned int __user *) (unsigned long) data);
274 break;
275
271 case PTRACE_DETACH: /* detach a process that was attached. */ 276 case PTRACE_DETACH: /* detach a process that was attached. */
272 ret = ptrace_detach(child, data); 277 ret = ptrace_detach(child, data);
273 break; 278 break;