Re: [PATCH linux-next] ARM: mvebu: Fix pmsu compilation when ARMv6 is selected

From: Jason Cooper
Date: Thu May 08 2014 - 13:05:35 EST


On Tue, May 06, 2014 at 10:23:02PM +0200, Vincent Stehlé wrote:
> When compiling for multiplatform for both ARMv6 and ARMv7, the default compiler
> flags are for ARMv6, and we will get:
>
> /tmp/ccwDEzd0.s: Assembler messages:
> /tmp/ccwDEzd0.s:639: Error: selected processor does not support ARM mode `isb '
> /tmp/ccwDEzd0.s:645: Error: selected processor does not support ARM mode `isb '
> /tmp/ccwDEzd0.s:646: Error: selected processor does not support ARM mode `dsb '
> /tmp/ccwDEzd0.s:695: Error: selected processor does not support ARM mode `isb '
> make[1]: *** [arch/arm/mach-mvebu/pmsu.o] Error 1
>
> Fix this in a similar manner than done previously in commit
> 72533b77d30c2be02672e26b5dde1263d7b4c2be, by specifying ARMv7 flags for pmsu.o.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@xxxxxxxxxxx>
> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
> Cc: Andrew Lunn <andrew@xxxxxxx>
> Cc: Gregory Clement <gregory.clement@xxxxxxxxxxxxxxxxxx>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> ---
>
> Hi,
>
> This build issue can be seen with e.g. Linux next-20140506, ARCH=arm and
> allmodconfig.
>
> Best regards,
>
> V.
>
> arch/arm/mach-mvebu/Makefile | 1 +
> 1 file changed, 1 insertion(+)

Applied to mvebu/soc, thanks!

thx,

Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/