mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
eaca6eae3e
Switch from __ARCH_WANT_SYS_RT_SIGACTION to opposite (!CONFIG_ODD_RT_SIGACTION); the only two architectures that need it are alpha and sparc. The reason for use of CONFIG_... instead of __ARCH_... is that it's needed only kernel-side and doing it that way avoids a mess with include order on many architectures. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 lines
388 B
C
16 lines
388 B
C
/*
|
|
* Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#include <asm/unistd.h>
|
|
#include <sysdep/ptrace.h>
|
|
|
|
typedef long syscall_handler_t(struct pt_regs);
|
|
|
|
extern syscall_handler_t *sys_call_table[];
|
|
|
|
#define EXECUTE_SYSCALL(syscall, regs) \
|
|
((long (*)(struct syscall_args)) \
|
|
(*sys_call_table[syscall]))(SYSCALL_ARGS(®s->regs))
|