powerpc/ptdump: Display _PAGE_READ and _PAGE_WRITE
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 25 Sep 2023 18:31:49 +0000 (20:31 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Oct 2023 06:12:47 +0000 (17:12 +1100)
commitceaba662c06598e52cbe4b90fef6b71b7f965cf9
tree5aeef5d9c336cca47a6d376e3ddf7c0517cf8336
parentbac4cffc7c4a009cf0d16f1785a275e0a7715e8d
powerpc/ptdump: Display _PAGE_READ and _PAGE_WRITE

Instead of always displaying either 'rw' or 'r ' depending on
_PAGE_RW, display 'r' or ' ' for _PAGE_READ and 'w' or ' '
for _PAGE_WRITE.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/dd8201a0f8fd87ce62a7ff2edc958b604b8ec3c0.1695659959.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ptdump/shared.c