projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: replace vma->vm_flags direct modifications with modifier calls
[linux-block.git]
/
arch
/
s390
/
mm
/
gmap.c
diff --git
a/arch/s390/mm/gmap.c
b/arch/s390/mm/gmap.c
index 69af6cdf1a2ad92f35dd5a10e8907afddb0a5aaa..ab836597419dc7644fe494b77eee5d9ef2802428 100644
(file)
--- a/
arch/s390/mm/gmap.c
+++ b/
arch/s390/mm/gmap.c
@@
-2522,8
+2522,7
@@
static inline void thp_split_mm(struct mm_struct *mm)
VMA_ITERATOR(vmi, mm, 0);
for_each_vma(vmi, vma) {
- vma->vm_flags &= ~VM_HUGEPAGE;
- vma->vm_flags |= VM_NOHUGEPAGE;
+ vm_flags_mod(vma, VM_NOHUGEPAGE, VM_HUGEPAGE);
walk_page_vma(vma, &thp_split_walk_ops, NULL);
}
mm->def_flags |= VM_NOHUGEPAGE;