aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/uapi/asm/byteorder.h
diff options
context:
space:
mode:
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__ */