diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-14 14:18:50 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 12:48:49 -0800 |
commit | 6630f11ba54414b9870d87dfef2bee467bfa842a (patch) | |
tree | 2162fee8b43a3ab3df33bd2687c01e0c651a5686 /arch/x86/kernel/asm-offsets_64.c | |
parent | 2c73ce734653f96542a070f3c3b3e3d1cd0fba02 (diff) | |
download | linux-6630f11ba54414b9870d87dfef2bee467bfa842a.tar.bz2 |
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/asm-offsets_64.c')
-rw-r--r-- | arch/x86/kernel/asm-offsets_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index 834e897b1e25..c3354f7b0a06 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c @@ -1,6 +1,8 @@ #include <asm/ia32.h> #define __SYSCALL_64(nr, sym, compat) [nr] = 1, +#define __SYSCALL_COMMON(nr, sym, compat) [nr] = 1, +#define __SYSCALL_X32(nr, sym, compat) /* Not yet */ static char syscalls_64[] = { #include <asm/syscalls_64.h> }; |