ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards
commit95086de856ca703588967f63cc54b8059db55888
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:18:58 +0000 (3 09:18 -0800)
tree164fe7a1fc35a4a2ff10bc2ed46f30a2c6eef119
parent4e29fa93520b401b81a719fe053f06c6937d5b66
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