From: Christoph Hellwig Date: Thu, 12 Dec 2024 07:34:23 +0000 (+0100) Subject: mm: unexport apply_to_existing_page_range X-Git-Tag: next-20250116~165^2~101 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=600a1230d7da83879b50fde6bc4ee866d8c64e96;p=linux%2F.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 90bda3de2191..1cee7517d21f 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