summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/shared/sysdep/syscalls.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:03:09 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:14:50 +0100
commit858ba94499b4f48e9eb0be7cf0092f1ea9460fef (patch)
tree8f7a2ba4dc97d771de8b710822dfd2579693220d /arch/um/sys-i386/shared/sysdep/syscalls.h
parent27f85f12639fe821375a69900d96e0fbcc1450bf (diff)
um: merge arch/um/sys-{i386,x86_64}/shared
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/sys-i386/shared/sysdep/syscalls.h')
-rw-r--r--arch/um/sys-i386/shared/sysdep/syscalls.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/um/sys-i386/shared/sysdep/syscalls.h b/arch/um/sys-i386/shared/sysdep/syscalls.h
deleted file mode 100644
index 05cb796aecb..00000000000
--- a/arch/um/sys-i386/shared/sysdep/syscalls.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * 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);
-
-/* Not declared on x86, incompatible declarations on x86_64, so these have
- * to go here rather than in sys_call_table.c
- */
-extern syscall_handler_t sys_rt_sigaction;
-
-extern syscall_handler_t *sys_call_table[];
-
-#define EXECUTE_SYSCALL(syscall, regs) \
- ((long (*)(struct syscall_args)) \
- (*sys_call_table[syscall]))(SYSCALL_ARGS(&regs->regs))