linux-next: omap2plus_defconfig not building

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Nov 8 05:14:52 EST 2010


On Mon, Nov 08, 2010 at 09:48:13AM +0000, Catalin Marinas wrote:
> Russell had a better idea for handling this, not sure whether it went
> into -next. It was basically adding -march=armv7-a to
> CFLAGS_swp_emulate.o in arch/arm/kernel/Makefile since we can't trigger
> an undef fault for SWP on ARMv6 anyway.

It's probably not a good idea to override the compiler architecture,
but just allow the assembler to accept the instruction.  -Wa,-march=armv7-a
should be good enough.



More information about the linux-arm-kernel mailing list