diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2022-02-04 19:49:20 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 17:59:02 +0100 |
commit | 7106c51ee9a1b65eff63496636fce36bf246c1a0 (patch) | |
tree | 7532d39eed0764ff0b0d1369262272c320dc4b30 /arch/mips/include/asm/pgtable.h | |
parent | mm: Add DEFINE_PAGE_VMA_WALK and DEFINE_FOLIO_VMA_WALK (diff) | |
download | linux-7106c51ee9a1b65eff63496636fce36bf246c1a0.tar.xz linux-7106c51ee9a1b65eff63496636fce36bf246c1a0.zip |
arch: Add pmd_pfn() where it is missing
We need to use this function in common code, so define it for
architectures and/or configrations that miss it. The result of
pmd_pfn() will only be used if TRANSPARENT_HUGEPAGE is enabled,
but a function or macro called pmd_pfn() must be defined, even
on machines with two level page tables.
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'arch/mips/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions