summaryrefslogtreecommitdiff
path: root/arch/c6x/include/uapi/asm/byteorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/include/uapi/asm/byteorder.h')
-rw-r--r--arch/c6x/include/uapi/asm/byteorder.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/c6x/include/uapi/asm/byteorder.h b/arch/c6x/include/uapi/asm/byteorder.h
new file mode 100644
index 000000000000..166038db342b
--- /dev/null
+++ b/arch/c6x/include/uapi/asm/byteorder.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_C6X_BYTEORDER_H
+#define _ASM_C6X_BYTEORDER_H
+
+#include <asm/types.h>
+
+#ifdef _BIG_ENDIAN
+#include <linux/byteorder/big_endian.h>
+#else /* _BIG_ENDIAN */
+#include <linux/byteorder/little_endian.h>
+#endif /* _BIG_ENDIAN */
+
+#endif /* _ASM_BYTEORDER_H */