ARM: 6431/1: fix isb regression on CPU < v7
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 6 Oct 2010 10:07:28 +0000 (11:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Oct 2010 08:59:36 +0000 (09:59 +0100)
commit5fb31a96e1e0078f1e82736ccd72a61ecabe6a4f
treee85c3838b54becf015c51a9b377e69cb96a9cd85
parentc4e259c859538e94007d1f04a488540375189551
ARM: 6431/1: fix isb regression on CPU < v7

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.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c