ソースを参照

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>
Vinayak Kale 11 年 前
コミット
39544ac9df
1 ファイル変更1 行追加0 行削除
  1. 1 0
      arch/arm/include/asm/cacheflush.h

+ 1 - 0
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)
 static inline void __flush_icache_all(void)
 {
 {
 	__flush_icache_preferred();
 	__flush_icache_preferred();
+	dsb();
 }
 }
 
 
 /*
 /*