summaryrefslogtreecommitdiff
path: root/arch/x86/um/sys_call_table_64.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-15 02:18:50 +0400
committerH. Peter Anvin <hpa@zytor.com>2012-02-21 00:48:49 +0400
commit6630f11ba54414b9870d87dfef2bee467bfa842a (patch)
tree2162fee8b43a3ab3df33bd2687c01e0c651a5686 /arch/x86/um/sys_call_table_64.c
parent2c73ce734653f96542a070f3c3b3e3d1cd0fba02 (diff)
downloadlinux-6630f11ba54414b9870d87dfef2bee467bfa842a.tar.xz
x32: Add x32 system calls to syscall/syscall_64.tbl
Split the 64-bit system calls into "64" (64-bit only) and "common" (64-bit or x32) and add the x32 system call numbers. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/um/sys_call_table_64.c')
-rw-r--r--arch/x86/um/sys_call_table_64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/um/sys_call_table_64.c b/arch/x86/um/sys_call_table_64.c
index fe626c3ba01b..9924776f4265 100644
--- a/arch/x86/um/sys_call_table_64.c
+++ b/arch/x86/um/sys_call_table_64.c
@@ -35,6 +35,9 @@
#define stub_sigaltstack sys_sigaltstack
#define stub_rt_sigreturn sys_rt_sigreturn
+#define __SYSCALL_COMMON(nr, sym, compat) __SYSCALL_64(nr, sym, compat)
+#define __SYSCALL_X32(nr, sym, compat) /* Not supported */
+
#define __SYSCALL_64(nr, sym, compat) extern asmlinkage void sym(void) ;
#include <asm/syscalls_64.h>