aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-12-03 07:49:39 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-12-03 07:49:39 -0500
commit220d0b1dbf78c6417a658c96e571415552d3abac (patch)
tree70cd3862540c38ea490e7a27c3c7acc35b680234 /arch/arm/include/asm/cacheflush.h
parent474b18ccc264c472abeec50f48469b6477202699 (diff)
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
Merge branch 'master' into for-2.6.33
Diffstat (limited to 'arch/arm/include/asm/cacheflush.h')
-rw-r--r--arch/arm/include/asm/cacheflush.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 247b7b0adc2a..e8d45832cfbe 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -415,9 +415,14 @@ extern void __flush_dcache_page(struct address_space *mapping, struct page *page
415 415
416static inline void __flush_icache_all(void) 416static inline void __flush_icache_all(void)
417{ 417{
418#ifdef CONFIG_ARM_ERRATA_411920
419 extern void v6_icache_inval_all(void);
420 v6_icache_inval_all();
421#else
418 asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n" 422 asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n"
419 : 423 :
420 : "r" (0)); 424 : "r" (0));
425#endif
421} 426}
422 427
423#define ARCH_HAS_FLUSH_ANON_PAGE 428#define ARCH_HAS_FLUSH_ANON_PAGE