diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-14 17:18:50 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-20 15:48:49 -0500 |
commit | 6630f11ba54414b9870d87dfef2bee467bfa842a (patch) | |
tree | 2162fee8b43a3ab3df33bd2687c01e0c651a5686 /arch/x86/um/user-offsets.c | |
parent | 2c73ce734653f96542a070f3c3b3e3d1cd0fba02 (diff) |
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/user-offsets.c')
-rw-r--r-- | arch/x86/um/user-offsets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/um/user-offsets.c b/arch/x86/um/user-offsets.c index 5edf4f4bbf53..ce7e3607a870 100644 --- a/arch/x86/um/user-offsets.c +++ b/arch/x86/um/user-offsets.c | |||
@@ -15,6 +15,8 @@ static char syscalls[] = { | |||
15 | }; | 15 | }; |
16 | #else | 16 | #else |
17 | #define __SYSCALL_64(nr, sym, compat) [nr] = 1, | 17 | #define __SYSCALL_64(nr, sym, compat) [nr] = 1, |
18 | #define __SYSCALL_COMMON(nr, sym, compat) [nr] = 1, | ||
19 | #define __SYSCALL_X32(nr, sym, compat) /* Not supported */ | ||
18 | static char syscalls[] = { | 20 | static char syscalls[] = { |
19 | #include <asm/syscalls_64.h> | 21 | #include <asm/syscalls_64.h> |
20 | }; | 22 | }; |