aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/flush.c')
-rw-r--r--arch/arm/mm/flush.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c
index 87dd5ffdfa2d..b4efce9b7985 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -248,7 +248,7 @@ void flush_dcache_page(struct page *page)
248 248
249#ifndef CONFIG_SMP 249#ifndef CONFIG_SMP
250 if (mapping && !mapping_mapped(mapping)) 250 if (mapping && !mapping_mapped(mapping))
251 set_bit(PG_dcache_dirty, &page->flags); 251 clear_bit(PG_dcache_clean, &page->flags);
252 else 252 else
253#endif 253#endif
254 { 254 {
@@ -257,6 +257,7 @@ void flush_dcache_page(struct page *page)
257 __flush_dcache_aliases(mapping, page); 257 __flush_dcache_aliases(mapping, page);
258 else if (mapping) 258 else if (mapping)
259 __flush_icache_all(); 259 __flush_icache_all();
260 set_bit(PG_dcache_clean, &page->flags);
260 } 261 }
261} 262}
262EXPORT_SYMBOL(flush_dcache_page); 263EXPORT_SYMBOL(flush_dcache_page);