diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-14 23:18:50 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 21:48:49 +0100 |
commit | 6630f11ba54414b9870d87dfef2bee467bfa842a (patch) | |
tree | 2162fee8b43a3ab3df33bd2687c01e0c651a5686 /arch/x86/kernel/syscall_64.c | |
parent | x86-64, ia32: Drop sys32_rt_sigprocmask (diff) | |
download | linux-6630f11ba54414b9870d87dfef2bee467bfa842a.tar.xz linux-6630f11ba54414b9870d87dfef2bee467bfa842a.zip |
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/kernel/syscall_64.c')
-rw-r--r-- | arch/x86/kernel/syscall_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/syscall_64.c b/arch/x86/kernel/syscall_64.c index 7ac7943be02c..26c4ca1f20e8 100644 --- a/arch/x86/kernel/syscall_64.c +++ b/arch/x86/kernel/syscall_64.c @@ -5,6 +5,9 @@ #include <linux/cache.h> #include <asm/asm-offsets.h> +#define __SYSCALL_COMMON(nr, sym, compat) __SYSCALL_64(nr, sym, compat) +#define __SYSCALL_X32(nr, sym, compat) /* Not yet */ + #define __SYSCALL_64(nr, sym, compat) extern asmlinkage void sym(void) ; #include <asm/syscalls_64.h> #undef __SYSCALL_64 |