diff options
Diffstat (limited to 'arch/arm/mm/flush.c')
-rw-r--r-- | arch/arm/mm/flush.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c index 9df507d36e0b..029ee65fda2b 100644 --- a/arch/arm/mm/flush.c +++ b/arch/arm/mm/flush.c | |||
@@ -199,6 +199,8 @@ void flush_dcache_page(struct page *page) | |||
199 | __flush_dcache_page(mapping, page); | 199 | __flush_dcache_page(mapping, page); |
200 | if (mapping && cache_is_vivt()) | 200 | if (mapping && cache_is_vivt()) |
201 | __flush_dcache_aliases(mapping, page); | 201 | __flush_dcache_aliases(mapping, page); |
202 | else if (mapping) | ||
203 | __flush_icache_all(); | ||
202 | } | 204 | } |
203 | } | 205 | } |
204 | EXPORT_SYMBOL(flush_dcache_page); | 206 | EXPORT_SYMBOL(flush_dcache_page); |