aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/rmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 57306fa0114d..669acb22b572 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -452,7 +452,7 @@ static int page_mkclean_one(struct page *page, struct vm_area_struct *vma)
452 entry = ptep_clear_flush(vma, address, pte); 452 entry = ptep_clear_flush(vma, address, pte);
453 entry = pte_wrprotect(entry); 453 entry = pte_wrprotect(entry);
454 entry = pte_mkclean(entry); 454 entry = pte_mkclean(entry);
455 set_pte_at(vma, address, pte, entry); 455 set_pte_at(mm, address, pte, entry);
456 lazy_mmu_prot_update(entry); 456 lazy_mmu_prot_update(entry);
457 ret = 1; 457 ret = 1;
458 } 458 }