diff options
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index f1bd23803576..c75f4dcec808 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -569,7 +569,7 @@ unsigned long change_prot_numa(struct vm_area_struct *vma, | |||
569 | { | 569 | { |
570 | int nr_updated; | 570 | int nr_updated; |
571 | 571 | ||
572 | nr_updated = change_protection(vma, addr, end, vma->vm_page_prot, 0, 1); | 572 | nr_updated = change_protection(vma, addr, end, PAGE_NONE, 0, 1); |
573 | if (nr_updated) | 573 | if (nr_updated) |
574 | count_vm_numa_events(NUMA_PTE_UPDATES, nr_updated); | 574 | count_vm_numa_events(NUMA_PTE_UPDATES, nr_updated); |
575 | 575 | ||