summaryrefslogtreecommitdiff
path: root/arch/tile/include
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-01-13 18:04:43 +0300
committerChris Metcalf <cmetcalf@ezchip.com>2015-01-13 18:13:30 +0300
commite9118a4914e47e915952842828401779f09cecb8 (patch)
tree4a3899bbd446230d49682fb756c12368d28b14f0 /arch/tile/include
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff)
downloadlinux-e9118a4914e47e915952842828401779f09cecb8.tar.xz
tile: default to little endian on older toolchains
Older toolchains may not specify __LITTLE_ENDIAN__, but older toolchains were all little endian. Don't make things unnecessarily hard for those toolchains. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Diffstat (limited to 'arch/tile/include')
-rw-r--r--arch/tile/include/uapi/asm/byteorder.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/tile/include/uapi/asm/byteorder.h b/arch/tile/include/uapi/asm/byteorder.h
index fb72ecf49218..6b8fa2e1cf6e 100644
--- a/arch/tile/include/uapi/asm/byteorder.h
+++ b/arch/tile/include/uapi/asm/byteorder.h
@@ -14,8 +14,6 @@
#if defined (__BIG_ENDIAN__)
#include <linux/byteorder/big_endian.h>
-#elif defined (__LITTLE_ENDIAN__)
-#include <linux/byteorder/little_endian.h>
#else
-#error "__BIG_ENDIAN__ or __LITTLE_ENDIAN__ must be defined."
+#include <linux/byteorder/little_endian.h>
#endif