commit | 3c37026d43c47bec4710cbda286f4a17f416f5e6 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 13 17:43:59 2005 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:31:06 2005 +0100 |
tree | 8bf206dc3ee4337ac9839c0e9e26ec4513996670 | |
parent | 38551576a35f1b48b6b359470d6e876c5b671ab6 [diff] [blame] |
NPTL, round one. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 2c7fc74..649c90d 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c
@@ -289,6 +289,11 @@ ret = ptrace_detach(child, data); break; + case PTRACE_GET_THREAD_AREA: + ret = put_user(child->thread_info->tp_value, + (unsigned long __user *) data); + break; + default: ret = ptrace_request(child, request, addr, data); break;