diff mbox series

mm: unexport apply_to_existing_page_range

Message ID 20241212073423.1439954-1-hch@lst.de (mailing list archive)
State New
Headers show
Series mm: unexport apply_to_existing_page_range | expand

Commit Message

Christoph Hellwig Dec. 12, 2024, 7:34 a.m. UTC
apply_to_existing_page_range is only used by non-modular code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 mm/memory.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Hildenbrand Dec. 12, 2024, 8:07 a.m. UTC | #1
On 12.12.24 08:34, Christoph Hellwig wrote:
> apply_to_existing_page_range is only used by non-modular code.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   mm/memory.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/mm/memory.c b/mm/memory.c
> index bdf77a3ec47b..a99f56d83cca 100644
> --- a/mm/memory.c
> +++ b/mm/memory.c
> @@ -2999,7 +2999,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

Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

diff --git a/mm/memory.c b/mm/memory.c
index bdf77a3ec47b..a99f56d83cca 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2999,7 +2999,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