[PATCH 13/17] ARM: pl01x debug code endian fix

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Feb 9 07:09:12 EST 2013


On Fri, Feb 08, 2013 at 11:17:43PM +0000, Ben Dooks wrote:
> +#ifdef __ARMEB__
> +#define ARM_BE(x...) x
> +#else
> +#define ARM_BE(x..)

Buggy.

> +#endif

Rather than littering the code with stuff like this, define it in one
central place please, and include it where necessary.



More information about the linux-arm-kernel mailing list