]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
m68k: Add NPTL support
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Mon, 7 Dec 2009 08:24:27 +0000 (00:24 -0800)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 27 Feb 2010 17:31:19 +0000 (18:31 +0100)
commit9674cdc74d63f346870943ef966a034f8c71ee57
treec590640335983c5b1a7f5c9589478bf90fb68d03
parentf54bcdc2b81558a2b7e624cfeb4992422d9265f9
m68k: Add NPTL support

This patch adds several syscalls, that provide necessary
functionality to support NPTL on m68k/ColdFire.
The syscalls are get_thread_area, set_thread_area, atomic_cmpxchg_32 and
atomic_barrier.
The cmpxchg syscall is required for ColdFire as it doesn't support 'cas'
instruction.

Also a ptrace call PTRACE_GET_THREAD_AREA is added to allow debugger to
inspect the TLS storage.

Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/ptrace.h
arch/m68k/include/asm/thread_info_mm.h
arch/m68k/include/asm/unistd.h
arch/m68k/kernel/entry.S
arch/m68k/kernel/process.c
arch/m68k/kernel/ptrace.c
arch/m68k/kernel/sys_m68k.c