aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mprotect.c')
-rw-r--r--mm/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mprotect.c b/mm/mprotect.c
index 44ffa698484d..76824d73380d 100644
--- a/mm/mprotect.c
+++ b/mm/mprotect.c
@@ -142,7 +142,7 @@ static inline unsigned long change_pmd_range(struct vm_area_struct *vma,
142 split_huge_page_pmd(vma, addr, pmd); 142 split_huge_page_pmd(vma, addr, pmd);
143 else { 143 else {
144 int nr_ptes = change_huge_pmd(vma, pmd, addr, 144 int nr_ptes = change_huge_pmd(vma, pmd, addr,
145 newprot, prot_numa); 145 newprot);
146 146
147 if (nr_ptes) { 147 if (nr_ptes) {
148 if (nr_ptes == HPAGE_PMD_NR) { 148 if (nr_ptes == HPAGE_PMD_NR) {