From: Christoph Hellwig Date: Wed, 16 Dec 2020 04:47:20 +0000 (-0800) Subject: mm: unexport follow_pte_pmd X-Git-Tag: Ubuntu-5.4.0-74.83~1187 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1344310e2f73a77006fd0af12831ed55f37cace8;p=mirror_ubuntu-focal-kernel.git mm: unexport follow_pte_pmd BugLink: https://bugs.launchpad.net/bugs/1918170 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 Reviewed-by: Matthew Wilcox (Oracle) Cc: Dan Williams Cc: Daniel Vetter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Kamal Mostafa Signed-off-by: Kelsey Skunberg --- diff --git a/mm/memory.c b/mm/memory.c index 31d54be88e59..5e34bb550b77 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -4314,7 +4314,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