aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/errno.h')
-rw-r--r--include/asm-x86/errno.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/errno.h b/include/asm-x86/errno.h
new file mode 100644
index 00000000000..9d511be8e57
--- /dev/null
+++ b/include/asm-x86/errno.h
@@ -0,0 +1,13 @@
+#ifdef __KERNEL__
+# ifdef CONFIG_X86_32
+# include "errno_32.h"
+# else
+# include "errno_64.h"
+# endif
+#else
+# ifdef __i386__
+# include "errno_32.h"
+# else
+# include "errno_64.h"
+# endif
+#endif