summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-12-15 20:47:20 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-26 10:10:27 +0100
commit8aeef9c9ac7ee48934b8b4fddb33e0aa0c1fcd75 (patch)
treedee975bbbfdfe4de2725043a24d8b1f23e90c844
parent8f869895cf9d720819910bb7589368bf903683af (diff)
downloadlinux-stable-8aeef9c9ac7ee48934b8b4fddb33e0aa0c1fcd75.tar.gz
linux-stable-8aeef9c9ac7ee48934b8b4fddb33e0aa0c1fcd75.tar.bz2
linux-stable-8aeef9c9ac7ee48934b8b4fddb33e0aa0c1fcd75.zip
mm: unexport follow_pte_pmd
commit 7336375734d65ecc82956b59a79cf5deccce880c upstream. 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/20201029101432.47011-2-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--mm/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 2157bb28117a..4b75b5786193 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -4313,7 +4313,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