From: Liam R. Howlett Date: Wed, 25 Nov 2020 01:24:10 +0000 (-0500) Subject: mmap: make remove_vma_list() inline X-Git-Tag: howlett/maple_spf/20210120~44 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b7f8832a561947ec06c0e212f4b307f72e9ce5a6;p=users%2Fjedix%2Flinux-maple.git mmap: make remove_vma_list() inline Signed-off-by: Liam R. Howlett --- diff --git a/mm/mmap.c b/mm/mmap.c index 0fb9b16fe745..765adf4469a4 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2313,7 +2313,8 @@ EXPORT_SYMBOL_GPL(find_extend_vma); * * Called with the mm semaphore held. */ -static void remove_vma_list(struct mm_struct *mm, struct vm_area_struct *vma) +static inline void remove_vma_list(struct mm_struct *mm, + struct vm_area_struct *vma) { unsigned long nr_accounted = 0;