[PATCH 1/2] mm: unexport follow_pte_pmd
From: Christoph Hellwig
Date: Thu Oct 29 2020 - 06:19:00 EST
follow_pte_pmd is only used by the DAX code, which can't be modular.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
mm/memory.c | 1 -
1 file changed, 1 deletion(-)
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
--
2.28.0