diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2009-12-06 19:08:14 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-02-27 18:35:22 +0100 |
commit | a58f75349063f60949614de39390df594ba1418d (patch) | |
tree | b0fec4508132df99cfa81e5d9f080028fe234b91 /arch/m68knommu/kernel/ptrace.c | |
parent | m68k: Add NPTL support (diff) | |
download | linux-a58f75349063f60949614de39390df594ba1418d.tar.xz linux-a58f75349063f60949614de39390df594ba1418d.zip |
m68knommu: NPTL support for uClinux
Port syscalls for NPTL support to m68knommu.
Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68knommu/kernel/ptrace.c')
-rw-r--r-- | arch/m68knommu/kernel/ptrace.c | 5 |
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) } #endif + case PTRACE_GET_THREAD_AREA: + ret = put_user(task_thread_info(child)->tp_value, + (unsigned long __user *)data); + break; + default: ret = -EIO; break; |