aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/copypage-v4mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/copypage-v4mc.c')
-rw-r--r--arch/arm/mm/copypage-v4mc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/copypage-v4mc.c b/arch/arm/mm/copypage-v4mc.c
index 87a23ca1fc61..e4dc2f491123 100644
--- a/arch/arm/mm/copypage-v4mc.c
+++ b/arch/arm/mm/copypage-v4mc.c
@@ -74,7 +74,7 @@ void v4_mc_copy_user_highpage(struct page *to, struct page *from,
74 74
75 raw_spin_lock(&minicache_lock); 75 raw_spin_lock(&minicache_lock);
76 76
77 set_pte_ext(TOP_PTE(COPYPAGE_MINICACHE), pfn_pte(page_to_pfn(from), minicache_pgprot), 0); 77 set_pte_ext(TOP_PTE(COPYPAGE_MINICACHE), mk_pte(from, minicache_pgprot), 0);
78 flush_tlb_kernel_page(COPYPAGE_MINICACHE); 78 flush_tlb_kernel_page(COPYPAGE_MINICACHE);
79 79
80 mc_copy_user_page((void *)COPYPAGE_MINICACHE, kto); 80 mc_copy_user_page((void *)COPYPAGE_MINICACHE, kto);