]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm: unexport apply_to_existing_page_range
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Dec 2024 07:34:23 +0000 (08:34 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:18 +0000 (20:22 -0800)
apply_to_existing_page_range() is only used by non-modular code.

Link: https://lkml.kernel.org/r/20241212073423.1439954-1-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c

index 90bda3de2191d416b1441f021cc159692c42e317..1cee7517d21f764c2e5a267eb3a62d95086b0434 100644 (file)
@@ -3082,7 +3082,6 @@ int apply_to_existing_page_range(struct mm_struct *mm, unsigned long addr,
 {
        return __apply_to_page_range(mm, addr, size, fn, data, false);
 }
-EXPORT_SYMBOL_GPL(apply_to_existing_page_range);
 
 /*
  * handle_pte_fault chooses page fault handler according to an entry which was