]> 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>
Thu, 28 Jan 2021 02:00:45 +0000 (21:00 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c

index d277040087adb803ed95e28851f089043ea58cce..b1650318bad1f65cae5ac0d3a7adc96e48594b51 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2316,7 +2316,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;