sanitize rt_sigaction() situation a bit
[deliverable/linux.git] / arch / x86 / um / shared / sysdep / syscalls_32.h
CommitLineData
1da177e4 1/*
f87ea91d 2 * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
1da177e4
LT
3 * Licensed under the GPL
4 */
5
37185b33
AV
6#include <asm/unistd.h>
7#include <sysdep/ptrace.h>
1da177e4
LT
8
9typedef long syscall_handler_t(struct pt_regs);
10
e32dacb9
JD
11extern syscall_handler_t *sys_call_table[];
12
1da177e4 13#define EXECUTE_SYSCALL(syscall, regs) \
f87ea91d
JD
14 ((long (*)(struct syscall_args)) \
15 (*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))
This page took 0.593086 seconds and 5 git commands to generate.