aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-09-21 22:32:07 -0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-10-21 05:28:45 -0400
commit4d5ea702467438bc7af59b053c13e900022d9387 (patch)
tree194d4ab8b55cbb7e344566e1b6b6b2b3318f3926
parentc9d09bbec45fdeb26eed4cec6394bc6fae01ec0d (diff)
xtensa: nommu: provide __invalidate_dcache_page_alias stub
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r--arch/xtensa/include/asm/cacheflush.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/cacheflush.h b/arch/xtensa/include/asm/cacheflush.h
index e72aaca7a77f..01438e97edc6 100644
--- a/arch/xtensa/include/asm/cacheflush.h
+++ b/arch/xtensa/include/asm/cacheflush.h
@@ -67,6 +67,8 @@ extern void __invalidate_dcache_page_alias(unsigned long, unsigned long);
67#else 67#else
68static inline void __flush_invalidate_dcache_page_alias(unsigned long virt, 68static inline void __flush_invalidate_dcache_page_alias(unsigned long virt,
69 unsigned long phys) { } 69 unsigned long phys) { }
70static inline void __invalidate_dcache_page_alias(unsigned long virt,
71 unsigned long phys) { }
70#endif 72#endif
71#if defined(CONFIG_MMU) && (ICACHE_WAY_SIZE > PAGE_SIZE) 73#if defined(CONFIG_MMU) && (ICACHE_WAY_SIZE > PAGE_SIZE)
72extern void __invalidate_icache_page_alias(unsigned long, unsigned long); 74extern void __invalidate_icache_page_alias(unsigned long, unsigned long);