]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - mm/mempolicy.c
mm: convert p[te|md]_mknonnuma and remaining page table manipulations
[mirror_ubuntu-zesty-kernel.git] / mm / mempolicy.c
index f1bd23803576fe68108d0a1bbca6957602009eae..c75f4dcec808659dcaa27890c48a2df85076f75f 100644 (file)
@@ -569,7 +569,7 @@ unsigned long change_prot_numa(struct vm_area_struct *vma,
 {
        int nr_updated;
 
-       nr_updated = change_protection(vma, addr, end, vma->vm_page_prot, 0, 1);
+       nr_updated = change_protection(vma, addr, end, PAGE_NONE, 0, 1);
        if (nr_updated)
                count_vm_numa_events(NUMA_PTE_UPDATES, nr_updated);