OSDN Git Service

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>
Mon, 21 Mar 2022 16:59:02 +0000 (12:59 -0400)
commit9e996c2115e1b52e235261121f7c9c121262dda9
treefdfdc5d5ffdd3db365ab6de24283604495bd3c8c
parent177bd2a9543fa057b9ff1fa35c65f35a0150c65f
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