tile: default to little endian on older toolchains
authorChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 15:04:43 +0000 (10:04 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 15:13:30 +0000 (10:13 -0500)
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>
arch/tile/include/uapi/asm/byteorder.h

index fb72ecf..6b8fa2e 100644 (file)
@@ -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