]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mmap: make remove_vma_list() inline
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 25 Nov 2020 01:24:10 +0000 (20:24 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 20 Jan 2021 14:28:15 +0000 (09:28 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c

index 0fb9b16fe745aa53cb43c6508e952b4c4e92f70a..765adf4469a4cc62dc6e79224ac58e5b926707b6 100644 (file)
--- 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;