From: Liam R. Howlett Date: Tue, 12 Jan 2021 16:38:39 +0000 (-0500) Subject: mm/mmap: change find_vma() to inline X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=530bc17f3f3aff473f272b4f340fdd08a9518be1;p=users%2Fjedix%2Flinux-maple.git mm/mmap: change find_vma() to inline Signed-off-by: Liam R. Howlett --- diff --git a/mm/mmap.c b/mm/mmap.c index b4ed8be4899b..ae0e27604a9c 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1842,7 +1842,7 @@ EXPORT_SYMBOL(find_vma_intersection); * Returns: The VMA associated with addr, or the next vma. * May return NULL in the case of no vma at addr or above. */ -struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) +inline struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) { // Note find_vma_intersection will decrease 0 to underflow to ULONG_MAX return find_vma_intersection(mm, addr, 0);