• Chris Metcalf's avatar
    arch/tile: Use <asm-generic/syscalls.h> · d929b6ae
    Chris Metcalf authored
    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: default avatarChris Metcalf <cmetcalf@tilera.com>
    d929b6ae
sys.c 3.79 KB