aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/unistd.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-14 14:46:23 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-20 12:52:04 -0800
commitea499fec48dd771bd92984337fcb57ed4c787e69 (patch)
treebaeeed85d52a5acec79e63203bcdbf037424346a /arch/x86/include/asm/unistd.h
parentx32: Generate <asm/unistd_x32.h> (diff)
downloadlinux-dev-ea499fec48dd771bd92984337fcb57ed4c787e69.tar.xz
linux-dev-ea499fec48dd771bd92984337fcb57ed4c787e69.zip
x32: Generate <asm/unistd_64_x32.h>
Generate macros for the *kernel* code to use to refer to x32 system calls. These have an __NR_x32_ prefix and do not include __X32_SYSCALL_BIT. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/unistd.h')
-rw-r--r--arch/x86/include/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/unistd.h b/arch/x86/include/asm/unistd.h
index dab5349f14fc..7a48a5557470 100644
--- a/arch/x86/include/asm/unistd.h
+++ b/arch/x86/include/asm/unistd.h
@@ -17,6 +17,7 @@
# else
# include <asm/unistd_64.h>
+# include <asm/unistd_64_x32.h>
# define __ARCH_WANT_COMPAT_SYS_TIME
# endif