summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorVinayak Kale <vkale@apm.com>2014-02-12 07:30:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-06 21:30:01 -0800
commitc943f5f92411ccb977e3272615309d3877d435f5 (patch)
treed23cb8e70a2deff8905681e2aaf9afd6e9b01c1e /arch/arm
parent1266f2d31159a79507aa299defeee54afccf1e15 (diff)
downloadlinux-3.10-c943f5f92411ccb977e3272615309d3877d435f5.tar.gz
linux-3.10-c943f5f92411ccb977e3272615309d3877d435f5.tar.bz2
linux-3.10-c943f5f92411ccb977e3272615309d3877d435f5.zip
ARM: 7957/1: add DSB after icache flush in __flush_icache_all()
commit 39544ac9df20f73e49fc6b9ac19ff533388c82c0 upstream. 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> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 17d0ae8672f..a25e62d2de6 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();
}
/*