2972
2972
if (!huge_pte_none(huge_ptep_get(ptep))) {
2973
2973
pte = huge_ptep_get_and_clear(mm, address, ptep);
2974
2974
pte = pte_mkhuge(pte_modify(pte, newprot));
2975
pte = arch_make_huge_pte(pte, vma, NULL, 0);
2975
2976
set_huge_pte_at(mm, address, ptep, pte);