]> git.karo-electronics.de Git - mv-sheeva.git/commit
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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Jan 2012 10:20:06 +0000 (10:20 +0000)
commit612539e81f655f6ac73c7af1da8701c1ee618aee
treea442b17625ad28e282c4ddb0f786ccdfbe4f8bf4
parent868dbf905245a524496a0535982ed21ad3be5585
ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards

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>
Cc: stable <stable@vger.kernel.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>
arch/arm/mm/proc-v7.S