summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/mm/flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/mm/flush.c')
-rw-r--r--arch/unicore32/mm/flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/mm/flush.c b/arch/unicore32/mm/flush.c
index 6d4c096ffa2a..74f4d636df2d 100644
--- a/arch/unicore32/mm/flush.c
+++ b/arch/unicore32/mm/flush.c
@@ -83,7 +83,7 @@ void flush_dcache_page(struct page *page)
if (page == ZERO_PAGE(0))
return;
- mapping = page_mapping(page);
+ mapping = page_mapping_file(page);
if (mapping && !mapping_mapped(mapping))
clear_bit(PG_dcache_clean, &page->flags);