summaryrefslogtreecommitdiff
path: root/arch/nds32/include/uapi/asm/byteorder.h
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 09:58:32 +0300
committerGreentime Hu <greentime@andestech.com>2018-02-22 05:44:34 +0300
commit5c86fa7f7f8568e85a934f064721d355ec7f486c (patch)
tree9062a268aee030493a447b7ea2f66aeb53da4d44 /arch/nds32/include/uapi/asm/byteorder.h
parentbeebdeaa1d39125ef5a38818024e93b365621a3b (diff)
downloadlinux-5c86fa7f7f8568e85a934f064721d355ec7f486c.tar.xz
nds32: Miscellaneous header files
This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include/uapi/asm/byteorder.h')
-rw-r--r--arch/nds32/include/uapi/asm/byteorder.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/byteorder.h b/arch/nds32/include/uapi/asm/byteorder.h
new file mode 100644
index 000000000000..a23f6f3a2468
--- /dev/null
+++ b/arch/nds32/include/uapi/asm/byteorder.h
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2005-2017 Andes Technology Corporation
+
+#ifndef __NDS32_BYTEORDER_H__
+#define __NDS32_BYTEORDER_H__
+
+#ifdef __NDS32_EB__
+#include <linux/byteorder/big_endian.h>
+#else
+#include <linux/byteorder/little_endian.h>
+#endif
+
+#endif /* __NDS32_BYTEORDER_H__ */