]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - mm/internal.h
ubsan, x86: Annotate and allow __ubsan_handle_shift_out_of_bounds() in uaccess regions
[mirror_ubuntu-focal-kernel.git] / mm / internal.h
index e32390802fd3f10b3972c4b30e96b6b2db72ffa7..0d5f720c75abf0291d4c2a3f494cb7d6553804bd 100644 (file)
@@ -39,7 +39,7 @@ vm_fault_t do_swap_page(struct vm_fault *vmf);
 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
                unsigned long floor, unsigned long ceiling);
 
-static inline bool can_madv_dontneed_vma(struct vm_area_struct *vma)
+static inline bool can_madv_lru_vma(struct vm_area_struct *vma)
 {
        return !(vma->vm_flags & (VM_LOCKED|VM_HUGETLB|VM_PFNMAP));
 }