X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=mm%2Fmprotect.c;h=1d4d69790e59920e8876971dc0ed8adeb48175b8;hb=af767cbdd78f293485c294113885d95e7f1da123;hp=e8346c30abecaef6c7e06d83c33922ac54883077;hpb=973ed7c49a5c2271a10ce54ac06bba5617fca3a8;p=~andy%2Flinux diff --git a/mm/mprotect.c b/mm/mprotect.c index e8346c30abe..1d4d69790e5 100644 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@ -53,7 +53,6 @@ static void change_pte_range(struct mm_struct *mm, pmd_t *pmd, if (dirty_accountable && pte_dirty(ptent)) ptent = pte_mkwrite(ptent); set_pte_at(mm, addr, pte, ptent); - lazy_mmu_prot_update(ptent); #ifdef CONFIG_MIGRATION } else if (!pte_file(oldpte)) { swp_entry_t entry = pte_to_swp_entry(oldpte);