linux-next: omap2plus_defconfig not building

Catalin Marinas catalin.marinas at arm.com
Mon Nov 8 05:20:51 EST 2010


On Mon, 2010-11-08 at 10:14 +0000, Russell King - ARM Linux wrote:
> 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.

Yes, even better via AFLAGS. Do you have a patch already or I should
push one?

Catalin




More information about the linux-arm-kernel mailing list