aboutsummaryrefslogtreecommitdiff
path: root/arch/c6x/include/uapi/asm/byteorder.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 09:46:40 +0100
committerMark Salter <msalter@redhat.com>2012-10-09 14:56:38 -0400
commitfbdd63d76c5ad6ae56a7bd1acebabefafc6aadf0 (patch)
tree44d5d0119cf7e51c299b18f09ba76d9a17956549 /arch/c6x/include/uapi/asm/byteorder.h
parent547b1e81afe3119f7daf702cc03b158495535a25 (diff)
UAPI: (Scripted) Disintegrate arch/c6x/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com> Signed-off-by: Mark Salter <msalter@redhat.com>
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 */