mmap: Make vma_store() static
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 24 Feb 2022 18:03:21 +0000 (13:03 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 8 Mar 2022 18:19:14 +0000 (13:19 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c

index 46979f95d12ace92b6f23f2f1eebb158bf7bf3fe..d9633535a3c9e18e1608f1fb6ace17456a878839 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -482,7 +482,7 @@ static inline void vma_mt_szero(struct mm_struct *mm, unsigned long start,
  * @mm: The struct_mm
  * @vma: The vm_area_struct to store in the maple tree.
  */
-void vma_store(struct mm_struct *mm, struct vm_area_struct *vma)
+static void vma_store(struct mm_struct *mm, struct vm_area_struct *vma)
 {
        MA_STATE(mas, &mm->mm_mt, 0, 0);