From: Chris Metcalf Date: Tue, 13 Jan 2015 15:04:43 +0000 (-0500) Subject: tile: default to little endian on older toolchains X-Git-Tag: firefly_0821_release~176^2~2332^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e9118a4914e47e915952842828401779f09cecb8;p=firefly-linux-kernel-4.4.55.git 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 --- 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 -#elif defined (__LITTLE_ENDIAN__) -#include #else -#error "__BIG_ENDIAN__ or __LITTLE_ENDIAN__ must be defined." +#include #endif