summaryrefslogtreecommitdiff
path: root/include/asm-x86/posix_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/posix_types.h')
-rw-r--r--include/asm-x86/posix_types.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-x86/posix_types.h b/include/asm-x86/posix_types.h
index fe312a5ba204..bb7133dc155d 100644
--- a/include/asm-x86/posix_types.h
+++ b/include/asm-x86/posix_types.h
@@ -1,5 +1,11 @@
#ifdef __KERNEL__
-# if defined(CONFIG_X86_32) || defined(__i386__)
+# ifdef CONFIG_X86_32
+# include "posix_types_32.h"
+# else
+# include "posix_types_64.h"
+# endif
+#else
+# ifdef __i386__
# include "posix_types_32.h"
# else
# include "posix_types_64.h"