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 fb72ecf49218a4e6b9e5bd6fe93261e2565f61d2..6b8fa2e1cf6e11d5bf6331e290a234bb7ef55b85 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