]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mm: unexport follow_pte_pmd
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Dec 2020 04:47:20 +0000 (20:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Feb 2021 09:10:27 +0000 (10:10 +0100)
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>
mm/memory.c

index 2157bb28117ac5eea814aa4f9a27e99c77629296..4b75b5786193e6f518582ce31d05b57796781bd0 100644 (file)
@@ -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