ARM: v6/v7 cache: allow cache calls to be optimized
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 23 Jan 2011 13:04:53 +0000 (13:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:33 +0000 (21:23 +0000)
commit774c096bf9e49eebf7b5d2d9fdddf632c29ccea0
tree0189d866c91a8d8ca8bd574c17c6c65284594880
parent3bc28c8edc4f5f78d9ec23fb0f20df29b7b3a072
ARM: v6/v7 cache: allow cache calls to be optimized

The v6 cache call optimization was disabled to allow the optional block
cache operations to be subsituted on CPUs which supported those
operations.  However, as that functionality was removed, we no longer
need to prevent this optimization being taken advantage of.

The v7 cache call optimization was just a copy of the v6, so also fix
that too.

Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h