summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinayak Kale <vkale@apm.com>2014-02-12 10:30:01 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-02-18 03:09:00 +0400
commit39544ac9df20f73e49fc6b9ac19ff533388c82c0 (patch)
treef36cc9b1d407d9ed04870b8d05e6209e95242d96
parente83b366487b5582274374f8226e489cb214ae5a6 (diff)
downloadlinux-39544ac9df20f73e49fc6b9ac19ff533388c82c0.tar.xz
ARM: 7957/1: add DSB after icache flush in __flush_icache_all()
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale <vkale@apm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: <stable@vger.kernel.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/include/asm/cacheflush.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index e9a49fe0284e..8b8b61685a34 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
static inline void __flush_icache_all(void)
{
__flush_icache_preferred();
+ dsb();
}
/*