powerpc: Add pmd_pfn()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 14 Feb 2022 15:30:07 +0000 (10:30 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Feb 2022 14:10:23 +0000 (09:10 -0500)
commit7a604e0b2e49a92f86f438cb6fffcd744916a919
tree9cd98618280ca593b6b8b29199d914249c36deaa
parent7a39754cb9d662c3aea3f3c529652eae9ec2e901
powerpc: Add pmd_pfn()

This is straightforward for everything except nohash64 where we
indirect through pmd_page().  There must be a better way to do this.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
arch/powerpc/include/asm/book3s/32/pgtable.h
arch/powerpc/include/asm/nohash/32/pgtable.h
arch/powerpc/include/asm/nohash/64/pgtable.h