remap_vmalloc_range_partial is only used to implement remap_vmalloc_range and by procfs. Unexport it. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 4f5f8c907897ae..631915ff6d1b4d 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -3072,7 +3072,6 @@ int remap_vmalloc_range_partial(struct vm_area_struct *vma, unsigned long uaddr, return 0; } -EXPORT_SYMBOL(remap_vmalloc_range_partial); /** * remap_vmalloc_range - map vmalloc pages to userspace -- 2.29.2