diff options
Diffstat (limited to 'mm/msync.c')
-rw-r--r-- | mm/msync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/msync.c b/mm/msync.c index 0e040e9c39d8..b3f4caf3010b 100644 --- a/mm/msync.c +++ b/mm/msync.c | |||
@@ -97,9 +97,9 @@ static void msync_page_range(struct vm_area_struct *vma, | |||
97 | /* For hugepages we can't go walking the page table normally, | 97 | /* For hugepages we can't go walking the page table normally, |
98 | * but that's ok, hugetlbfs is memory based, so we don't need | 98 | * but that's ok, hugetlbfs is memory based, so we don't need |
99 | * to do anything more on an msync(). | 99 | * to do anything more on an msync(). |
100 | * Can't do anything with VM_RESERVED regions either. | 100 | * Can't do anything with VM_UNPAGED regions either. |
101 | */ | 101 | */ |
102 | if (vma->vm_flags & (VM_HUGETLB|VM_RESERVED)) | 102 | if (vma->vm_flags & (VM_HUGETLB|VM_UNPAGED)) |
103 | return; | 103 | return; |
104 | 104 | ||
105 | BUG_ON(addr >= end); | 105 | BUG_ON(addr >= end); |