summaryrefslogtreecommitdiff
path: root/arch/unicore32/mm/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/mm/mmu.c')
-rw-r--r--arch/unicore32/mm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/unicore32/mm/mmu.c b/arch/unicore32/mm/mmu.c
index 4f5a532bee13..0c94b7b4514d 100644
--- a/arch/unicore32/mm/mmu.c
+++ b/arch/unicore32/mm/mmu.c
@@ -503,7 +503,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr,
if (page == ZERO_PAGE(0))
return;
- mapping = page_mapping(page);
+ mapping = page_mapping_file(page);
if (!test_and_set_bit(PG_dcache_clean, &page->flags))
__flush_dcache_page(mapping, page);
if (mapping)