summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2022-10-07 21:59:20 +0200
committerAndrew Morton <akpm@linux-foundation.org>2022-10-13 00:56:45 +0200
commitacfac37851e01b40c30a7afd0d93ad8db8914f25 (patch)
tree0ef46fb21b76a50ac04c0b559d348bb4e22bb623 /mm/hugetlb.c
parenthugetlb: allocate vma lock for all sharable vmas (diff)
downloadlinux-acfac37851e01b40c30a7afd0d93ad8db8914f25.tar.xz
linux-acfac37851e01b40c30a7afd0d93ad8db8914f25.zip
mm/hugetlb.c: make __hugetlb_vma_unlock_write_put() static
Reported-by: kernel test robot <lkp@intel.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 0ad53ad98e74..41d3aa077837 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -6804,7 +6804,7 @@ void hugetlb_vma_lock_release(struct kref *kref)
kfree(vma_lock);
}
-void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock)
+static void __hugetlb_vma_unlock_write_put(struct hugetlb_vma_lock *vma_lock)
{
struct vm_area_struct *vma = vma_lock->vma;