aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/asm-x86/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-headers/asm-x86/unistd.h')
-rw-r--r--linux-headers/asm-x86/unistd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linux-headers/asm-x86/unistd.h b/linux-headers/asm-x86/unistd.h
new file mode 100644
index 0000000000..1f99b12843
--- /dev/null
+++ b/linux-headers/asm-x86/unistd.h
@@ -0,0 +1,15 @@
+#ifndef _ASM_X86_UNISTD_H
+#define _ASM_X86_UNISTD_H
+
+/* x32 syscall flag bit */
+#define __X32_SYSCALL_BIT 0x40000000
+
+# ifdef __i386__
+# include <asm/unistd_32.h>
+# elif defined(__ILP32__)
+# include <asm/unistd_x32.h>
+# else
+# include <asm/unistd_64.h>
+# endif
+
+#endif /* _ASM_X86_UNISTD_H */