summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-01-13 10:04:43 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2015-01-13 10:13:30 -0500
commite9118a4914e47e915952842828401779f09cecb8 (patch)
tree4a3899bbd446230d49682fb756c12368d28b14f0 /arch/tile
parenteaa27f34e91a14cdceed26ed6c6793ec1d186115 (diff)
downloadop-kernel-dev-e9118a4914e47e915952842828401779f09cecb8.zip
op-kernel-dev-e9118a4914e47e915952842828401779f09cecb8.tar.gz
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')
-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 fb72ecf..6b8fa2e 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
OpenPOWER on IntegriCloud