Pull button into test branch
[linux-drm-fsl-dcu.git] / arch / arm / mm / fault-armv.c
index 7fc1b35a674695ed6b4b03473e6f4ae9368f419e..cf95c5d0ce4cdb60f4ea317f07cde2c8de0764ba 100644 (file)
@@ -61,7 +61,7 @@ static int adjust_pte(struct vm_area_struct *vma, unsigned long address)
        if (pte_present(entry) && pte_val(entry) & shared_pte_mask) {
                flush_cache_page(vma, address, pte_pfn(entry));
                pte_val(entry) &= ~shared_pte_mask;
-               set_pte(pte, entry);
+               set_pte_at(vma->vm_mm, address, pte, entry);
                flush_tlb_page(vma, address);
                ret = 1;
        }