diff options
author | Vinayak Kale <vkale@apm.com> | 2014-02-12 10:30:01 +0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-04-02 03:58:53 +0400 |
commit | e485fec7439abbdbd722441a2b6060cf7d6feffe (patch) | |
tree | e1bc450264e1884736a91231f8c404e6caa2746c /arch/arm | |
parent | 6f1c78ae9ea925593f4e47500eec579aa2fbdc07 (diff) | |
download | linux-e485fec7439abbdbd722441a2b6060cf7d6feffe.tar.xz |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/cacheflush.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h index 1397408541bb..b1e0e0752c92 100644 --- a/arch/arm/include/asm/cacheflush.h +++ b/arch/arm/include/asm/cacheflush.h @@ -202,6 +202,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *, static inline void __flush_icache_all(void) { __flush_icache_preferred(); + dsb(); } #define flush_cache_all() __cpuc_flush_kern_all() |