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