From: Ian Munsie Date: Mon, 23 Sep 2013 02:04:44 +0000 (+1000) Subject: powerpc: Include the appropriate endianness header X-Git-Tag: v3.13-rc1~20^2~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c57a5ce0df04be61bafedc0f3043d568103c7ab5;p=profile%2Fivi%2Fkernel-x86-ivi.git powerpc: Include the appropriate endianness header This patch will have powerpc include the appropriate generic endianness header depending on what the compiler reports. Signed-off-by: Ian Munsie Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/include/uapi/asm/byteorder.h b/arch/powerpc/include/uapi/asm/byteorder.h index aa6cc4f..ca931d0 100644 --- a/arch/powerpc/include/uapi/asm/byteorder.h +++ b/arch/powerpc/include/uapi/asm/byteorder.h @@ -7,6 +7,10 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ +#ifdef __LITTLE_ENDIAN__ +#include +#else #include +#endif #endif /* _ASM_POWERPC_BYTEORDER_H */