aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-12-15 20:47:20 -0800
committerLinus Torvalds <[email protected]>2020-12-15 22:46:19 -0800
commit7336375734d65ecc82956b59a79cf5deccce880c (patch)
tree65f27c69eb35c016abb8eb0700e851ad6ea070d0
parent9801ca279ad37f72f71234fa81722afd95a3f997 (diff)
mm: unexport follow_pte_pmd
Patch series "simplify follow_pte a bit". This small series drops the not needed follow_pte_pmd exports, and simplifies the follow_pte family of functions a bit. This patch (of 2): follow_pte_pmd() is only used by the DAX code, which can't be modular. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Cc: Dan Williams <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 4a42a74a2240..126e140baf73 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -4798,7 +4798,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