ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards
authorWill Deacon <will.deacon@arm.com>
Fri, 20 Jan 2012 11:10:18 +0000 (12:10 +0100)
committer黄涛 <huangtao@rock-chips.com>
Tue, 8 May 2012 05:10:32 +0000 (13:10 +0800)
commit5fcd3a1e8f2d912c5351d92a4d44e2017c5ea74f
tree86b94cce1c68a12a35974c24a5d31ecf8b8ad67a
parente451eb73f1910a080824c8cbdc652715e9f02690
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