[PATCH v2] ARM: Define wfi() macro for v6 processors
Arnd Bergmann
arnd at arndb.de
Tue Feb 8 10:17:58 EST 2011
On Tuesday 08 February 2011, Dave Martin wrote:
> CFLAGS_cpu_specific_object.o += -march=armv7-a
>
> Whether it's safe to do it depends on whether code from that file
> could ever get run on other processors. I'm not so sure of the answer
> to that..., but perhaps someone else has a better idea.
We already do this a lot from arch/arm/mm/Makefile, and those
files are typically just one function per file, so they can easily
be proven to be safe that way.
Arnd
More information about the linux-arm-kernel
mailing list