[PATCH v2 3/3] ARM: pxa/pj4: Port problematic pj4 support code to v7/Thumb-2
Arnd Bergmann
arnd at arndb.de
Thu Sep 8 12:44:21 EDT 2011
On Thursday 08 September 2011, Dave Martin wrote:
> __asm__ __volatile__ (
> "mcr p15, 0, %1, c1, c0, 2\n\t"
> +#ifdef __LINUX_ARM_ARCH__ >= 7
> + "isb\n\t"
> +#else
> "mrc p15, 0, %0, c1, c0, 2\n\t"
> "mov %0, %0\n\t"
> "sub pc, pc, #4\n\t"
> +#endif
> : "=r" (temp) : "r" (value));
> }
I thought we had concluded that we don't actually need the #else
path because there is no pre-v7 support for pj4 any more.
Arnd
More information about the linux-arm-kernel
mailing list