diff mbox series

[2/2] mm: unexport remap_vmalloc_range_partial

Message ID 20210301082235.932968-3-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/2] samples/vfio-mdev/mdpy: use remap_vmalloc_range | expand

Commit Message

Christoph Hellwig March 1, 2021, 8:22 a.m. UTC
remap_vmalloc_range_partial is only used to implement remap_vmalloc_range
and by procfs.  Unexport it.

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

Patch

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