Skip to content

Commit

Permalink
ARM: 7957/1: add DSB after icache flush in __flush_icache_all()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinayak Kale authored and Russell King committed Feb 17, 2014
1 parent e83b366 commit 39544ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/include/asm/cacheflush.h
Expand Up @@ -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();
}

/*
Expand Down

0 comments on commit 39544ac

Please sign in to comment.