ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards
commit33d812de490956625ef74e2fb47d6dc2c9d34c0f
authorWill Deacon <will.deacon@arm.com>
Fri, 20 Jan 2012 11:10:18 +0000 (20 12:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:21:46 +0000 (3 09:21 -0800)
treed2720f733e443ed13c706673f06b573449fa2bb1
parent61766889e65d726b8cae1dc4e90de5c25664ec76
ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards

commit 612539e81f655f6ac73c7af1da8701c1ee618aee upstream.

On v7, we use the same cache maintenance instructions for data lines
as for unified lines. This was not the case for v6, where HARVARD_CACHE
was defined to indicate the L1 cache topology.

This patch removes the erroneous compile-time check for HARVARD_CACHE in
proc-v7.S, ensuring that we perform I-side invalidation at boot.

Reported-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Catalin Marinas <Catalin.Marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mm/proc-v7.S