summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVinayak Kale <vkale@apm.com>2014-02-12 07:30:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-02-17 23:09:00 +0000
commit39544ac9df20f73e49fc6b9ac19ff533388c82c0 (patch)
treef36cc9b1d407d9ed04870b8d05e6209e95242d96 /arch
parente83b366487b5582274374f8226e489cb214ae5a6 (diff)
downloadlinux-39544ac9df20f73e49fc6b9ac19ff533388c82c0.tar.gz
linux-39544ac9df20f73e49fc6b9ac19ff533388c82c0.tar.bz2
linux-39544ac9df20f73e49fc6b9ac19ff533388c82c0.zip
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>
Diffstat (limited to 'arch')
-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();
}
/*