diff mbox series

[1/2] mm: unexport follow_pte_pmd

Message ID 20201029101432.47011-2-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/2] mm: unexport follow_pte_pmd | expand

Commit Message

Christoph Hellwig Oct. 29, 2020, 10:14 a.m. UTC
follow_pte_pmd is only used by the DAX code, which can't be modular.

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

Comments

Matthew Wilcox Nov. 10, 2020, 6:32 p.m. UTC | #1
On Thu, Oct 29, 2020 at 11:14:31AM +0100, Christoph Hellwig wrote:
> follow_pte_pmd is only used by the DAX code, which can't be modular.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
diff mbox series

Patch

diff --git a/mm/memory.c b/mm/memory.c
index c48f8df6e50268..00458e7b49fef8 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -4787,7 +4787,6 @@  int follow_pte_pmd(struct mm_struct *mm, unsigned long address,
 						    ptepp, pmdpp, ptlp)));
 	return res;
 }
-EXPORT_SYMBOL(follow_pte_pmd);
 
 /**
  * follow_pfn - look up PFN at a user virtual address