diff options
Diffstat (limited to 'arch/mips/kernel/ptrace.c')
-rw-r--r-- | arch/mips/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 6c358b333166..f838b36cc765 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c | |||
@@ -438,7 +438,7 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data) | |||
438 | break; | 438 | break; |
439 | 439 | ||
440 | case PTRACE_GET_THREAD_AREA: | 440 | case PTRACE_GET_THREAD_AREA: |
441 | ret = put_user(child->thread_info->tp_value, | 441 | ret = put_user(task_thread_info(child)->tp_value, |
442 | (unsigned long __user *) data); | 442 | (unsigned long __user *) data); |
443 | break; | 443 | break; |
444 | 444 | ||