summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/posix_types.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-14 13:13:21 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-20 12:48:47 -0800
commit1f5e27a90add2fe2a1c11508f68d377e3ddcf9ab (patch)
tree66172218a9ec03f7246714cc1fa08b49c816977c /arch/x86/include/asm/posix_types.h
parentafead38d011ab2f333d12ebb6752ed9baa53b667 (diff)
x32: Create posix_types_x32.h
This is the same as the 64-bit posix_types.h, except that __kernel_[u]long_t is defined to be [unsigned] long long and therefore 64 bits. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/posix_types.h')
-rw-r--r--arch/x86/include/asm/posix_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/include/asm/posix_types.h b/arch/x86/include/asm/posix_types.h
index bb7133dc155d..3427b7798dbc 100644
--- a/arch/x86/include/asm/posix_types.h
+++ b/arch/x86/include/asm/posix_types.h
@@ -7,7 +7,9 @@
#else
# ifdef __i386__
# include "posix_types_32.h"
-# else
+# elif defined(__LP64__)
# include "posix_types_64.h"
+# else
+# include "posix_types_x32.h"
# endif
#endif