mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
mm: remove rest usage of VM_NONLINEAR and pte_file()
One bit in ->vm_flags is unused now! Signed-off-by: Kirill A. Shutemov <[email protected]> Cc: Dan Carpenter <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ac51b934f3
commit
0661a33611
13 changed files with 49 additions and 71 deletions
2
mm/ksm.c
2
mm/ksm.c
|
|
@ -1748,7 +1748,7 @@ int ksm_madvise(struct vm_area_struct *vma, unsigned long start,
|
|||
*/
|
||||
if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE |
|
||||
VM_PFNMAP | VM_IO | VM_DONTEXPAND |
|
||||
VM_HUGETLB | VM_NONLINEAR | VM_MIXEDMAP))
|
||||
VM_HUGETLB | VM_MIXEDMAP))
|
||||
return 0; /* just ignore the advice */
|
||||
|
||||
#ifdef VM_SAO
|
||||
|
|
|
|||
Loading…
Reference in a new issue