aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/asm-x86/asm/posix_types_x32.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2013-11-07 14:16:29 -0800
committerChristopher Ferris <cferris@google.com>2013-11-07 14:16:29 -0800
commit0437c52788a98ab8ea84041c6b1f8d7a93e872f6 (patch)
treea7d155e4d74bf8582867a5764428163a1de75731 /original/uapi/asm-x86/asm/posix_types_x32.h
parent1df0ee5536b7b0eeac5f961a9d13706f38a4e6d0 (diff)
downloadkernel-headers-0437c52788a98ab8ea84041c6b1f8d7a93e872f6.tar.gz
Initial drop of uapi x86 headers.
Retrieved from linux-3.11.4 For x86, the generated files are: generated/ asm/ clkdev.h syscalls_32.h uapi/ asm/ unistd_32.h unistd_64.h unistd_x32.h Change-Id: I04d5c3e202abb9e850434c93ad3f24c931541623
Diffstat (limited to 'original/uapi/asm-x86/asm/posix_types_x32.h')
-rw-r--r--original/uapi/asm-x86/asm/posix_types_x32.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/original/uapi/asm-x86/asm/posix_types_x32.h b/original/uapi/asm-x86/asm/posix_types_x32.h
new file mode 100644
index 0000000..85f9bda
--- /dev/null
+++ b/original/uapi/asm-x86/asm/posix_types_x32.h
@@ -0,0 +1,19 @@
+#ifndef _ASM_X86_POSIX_TYPES_X32_H
+#define _ASM_X86_POSIX_TYPES_X32_H
+
+/*
+ * This file is only used by user-level software, so you need to
+ * be a little careful about namespace pollution etc. Also, we cannot
+ * assume GCC is being used.
+ *
+ * These types should generally match the ones used by the 64-bit kernel,
+ *
+ */
+
+typedef long long __kernel_long_t;
+typedef unsigned long long __kernel_ulong_t;
+#define __kernel_long_t __kernel_long_t
+
+#include <asm/posix_types_64.h>
+
+#endif /* _ASM_X86_POSIX_TYPES_X32_H */