summaryrefslogtreecommitdiffstats
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.h13
1 files changed, 13 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 000000000..ab61f8673
--- /dev/null
+++ b/arch/c6x/include/uapi/asm/byteorder.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#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 */