Commit cc3f8774 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] use update_mmu_cache() in install_page

Tell the arch that install_page() has just added a page into the pagetables.
parent 3ce6eb89
...@@ -84,7 +84,7 @@ int install_page(struct mm_struct *mm, struct vm_area_struct *vma, ...@@ -84,7 +84,7 @@ int install_page(struct mm_struct *mm, struct vm_area_struct *vma,
pte_unmap(pte); pte_unmap(pte);
if (flush) if (flush)
flush_tlb_page(vma, addr); flush_tlb_page(vma, addr);
update_mmu_cache(vma, addr, *pte);
spin_unlock(&mm->page_table_lock); spin_unlock(&mm->page_table_lock);
pte_chain_free(pte_chain); pte_chain_free(pte_chain);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment