From: Christoph Hellwig Date: Thu, 12 Dec 2024 07:34:23 +0000 (+0100) Subject: mm: unexport apply_to_existing_page_range X-Git-Tag: v6.14-rc1~77^2~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec838c7da584529bb74c8123fcea6f5f122b2128;p=thirdparty%2Fkernel%2Flinux.git mm: unexport apply_to_existing_page_range 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 Reviewed-by: David Hildenbrand Signed-off-by: Andrew Morton --- diff --git a/mm/memory.c b/mm/memory.c index 90bda3de2191d..1cee7517d21f7 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -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