summaryrefslogtreecommitdiffstats
path: root/arch/arm
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-18 00:09:00 +0100
commit39544ac9df20f73e49fc6b9ac19ff533388c82c0 (patch)
treef36cc9b1d407d9ed04870b8d05e6209e95242d96 /arch/arm
parentFix uses of dma_max_pfn() when converting to a limiting address (diff)
downloadlinux-39544ac9df20f73e49fc6b9ac19ff533388c82c0.tar.xz
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/arm')
-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();
}
/*