]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30ce7566447be226d2093b0b3f9b1c476bcaaadb
tree77668782763f74aec995899e919231e81a71d56a
parent2f3ee604089fbb98979ac17c82010358e82954bc
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