[PATCH] ARM: fix isb regression on CPU < v7

Will Deacon will.deacon at arm.com
Wed Oct 6 04:29:10 EDT 2010

Hi Linus,

> The kernel does not compile for my ARM926EJ-S system U300 due to
> the isb instruction inserted in generic assember statement from
> commit 8925ec4c530094b878e7e28a1fd78e7122afd973, "ARM: 6385/1:
> setup: detect aliasing I-cache when D-cache is non-aliasing"
> hey the isb is only available when assembling for v7 so let's
> use the generic isb() macro from setup.h instead.
> Cc: Will Deacon <will.deacon at arm.com>
> Signed-off-by: Linus Walleij <linus.walleij at stericsson.com>
> ---

Oops, well spotted! I suppose it's asking a bit much of the compiler
for it to optimise that case statement away when you're not building
for a v7 target :)

Acked-by: Will Deacon <will.deacon at arm.com>



More information about the linux-arm-kernel mailing list