aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/kernel/ptrace.c')
-rw-r--r--arch/m68knommu/kernel/ptrace.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/ptrace.c b/arch/m68knommu/kernel/ptrace.c
index 4d3828959fb0..85ed2f988f98 100644
--- a/arch/m68knommu/kernel/ptrace.c
+++ b/arch/m68knommu/kernel/ptrace.c
@@ -319,6 +319,11 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
319 } 319 }
320#endif 320#endif
321 321
322 case PTRACE_GET_THREAD_AREA:
323 ret = put_user(task_thread_info(child)->tp_value,
324 (unsigned long __user *)data);
325 break;
326
322 default: 327 default:
323 ret = -EIO; 328 ret = -EIO;
324 break; 329 break;