]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
mm: unexport follow_pte_pmd
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Dec 2020 04:47:20 +0000 (20:47 -0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 24 Mar 2021 10:15:52 +0000 (11:15 +0100)
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 <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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
mm/memory.c

index 31d54be88e59b21b53cea06117e69ff16b1a2d2f..5e34bb550b7764602535d94e8f157d20f1add424 100644 (file)
@@ -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