summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/unistd.h')
-rw-r--r--include/asm-x86/unistd.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-x86/unistd.h b/include/asm-x86/unistd.h
index 2a58ed3e51d..effc7ad8e12 100644
--- a/include/asm-x86/unistd.h
+++ b/include/asm-x86/unistd.h
@@ -1,11 +1,5 @@
#ifdef __KERNEL__
-# ifdef CONFIG_X86_32
-# include "unistd_32.h"
-# else
-# include "unistd_64.h"
-# endif
-#else
-# ifdef __i386__
+# if defined(CONFIG_X86_32) || defined(__i386__)
# include "unistd_32.h"
# else
# include "unistd_64.h"