diff options
Diffstat (limited to 'include/asm-arm/cacheflush.h')
-rw-r--r-- | include/asm-arm/cacheflush.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index 759a97b56eed..559fb4af1f62 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h | |||
@@ -410,6 +410,13 @@ extern void flush_dcache_page(struct page *); | |||
410 | 410 | ||
411 | extern void __flush_dcache_page(struct address_space *mapping, struct page *page); | 411 | extern void __flush_dcache_page(struct address_space *mapping, struct page *page); |
412 | 412 | ||
413 | static inline void __flush_icache_all(void) | ||
414 | { | ||
415 | asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n" | ||
416 | : | ||
417 | : "r" (0)); | ||
418 | } | ||
419 | |||
413 | #define ARCH_HAS_FLUSH_ANON_PAGE | 420 | #define ARCH_HAS_FLUSH_ANON_PAGE |
414 | static inline void flush_anon_page(struct vm_area_struct *vma, | 421 | static inline void flush_anon_page(struct vm_area_struct *vma, |
415 | struct page *page, unsigned long vmaddr) | 422 | struct page *page, unsigned long vmaddr) |