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

Jason Cooper jason at lakedaemon.net
Thu May 8 10:05:09 PDT 2014


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 at laposte.net>
> Cc: Jason Cooper <jason at lakedaemon.net>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Gregory Clement <gregory.clement at free-electrons.com>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Cc: Russell King <linux at arm.linux.org.uk>
> ---
> 
> 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.



More information about the linux-arm-kernel mailing list