arch/tile: Use <asm-generic/syscalls.h>
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 18:34:33 +0000 (14:34 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 18:34:33 +0000 (14:34 -0400)
commitd929b6aeaacbe78cbfef4a80e3eed1bf0464d984
tree5f121a845d616a3926768c2fa1b25c4ae417d9c2
parentce0ecc8abfa9904e27a5f3ac4dd83398b134278d
arch/tile: Use <asm-generic/syscalls.h>

With this change we now include <asm-generic/syscalls.h> into the "tile"
version of the header.  To take full advantage of the prototypes there,
we also change our naming convention for "struct pt_regs *" syscalls so
that, e.g., _sys_execve() is the "true" syscall entry, which sets the
appropriate register to point to the pt_regs before calling sys_execve().

While doing this I realized I no longer needed the fork and vfork
entry point stubs, since those functions aren't in the generic
syscall ABI, so I removed them as well.

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/process.c
arch/tile/kernel/signal.c
arch/tile/kernel/sys.c
arch/tile/mm/fault.c