From: Chris Metcalf Date: Tue, 13 Jan 2015 15:04:43 +0000 (-0500) Subject: tile: default to little endian on older toolchains X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9118a4914e47e915952842828401779f09cecb8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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