diff options
author | Christoph Hellwig <hch@lst.de> | 2020-12-16 05:47:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-16 07:46:19 +0100 |
commit | ff5c19ed4b087073cea38ff0edc80c23d7256943 (patch) | |
tree | 114406e05a7f7ffe82e6945445d3f557c7746c41 /kernel | |
parent | mm: unexport follow_pte_pmd (diff) | |
download | linux-ff5c19ed4b087073cea38ff0edc80c23d7256943.tar.xz linux-ff5c19ed4b087073cea38ff0edc80c23d7256943.zip |
mm: simplify follow_pte{,pmd}
Merge __follow_pte_pmd, follow_pte_pmd and follow_pte into a single
follow_pte function and just pass two additional NULL arguments for the
two previous follow_pte callers.
[sfr@canb.auug.org.au: merge fix for "s390/pci: remove races against pte updates"]
Link: https://lkml.kernel.org/r/20201111221254.7f6a3658@canb.auug.org.au
Link: https://lkml.kernel.org/r/20201029101432.47011-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions