arch/tile: eliminate pt_regs trampolines for syscalls
authorChris Metcalf <cmetcalf@tilera.com>
Tue, 23 Oct 2012 17:30:54 +0000 (13:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 23 Oct 2012 20:23:58 +0000 (16:23 -0400)
commit6b14e4198c729b748a7f6d22059e6a101d2b241a
tree77668782763f74aec995899e919231e81a71d56a
parent530550651fdfd548d25b6bd5ff4607803540508b
arch/tile: eliminate pt_regs trampolines for syscalls

Using the new current_pt_regs() model, we can remove some trampolines
from assembly code and call directly to the C syscall implementations.
rt_sigreturn() and clone() still need some assembly wrapping, but no
longer are passed a pt_regs pointer.  sigaltstack() and the
tilepro-specific cmpxchg_badaddr() syscalls are now just straight C.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/compat.h
arch/tile/include/asm/syscalls.h
arch/tile/kernel/compat.c
arch/tile/kernel/compat_signal.c
arch/tile/kernel/intvec_32.S
arch/tile/kernel/intvec_64.S
arch/tile/kernel/process.c
arch/tile/kernel/signal.c
arch/tile/kernel/sys.c
arch/tile/mm/fault.c