OSDN Git Service

powerpc/mm: Fix missing page attributes in page table dump
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 14 Apr 2017 05:45:16 +0000 (07:45 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 27 Apr 2017 12:20:27 +0000 (22:20 +1000)
commitfd893fe56a1307d348fe5c077eb9b654288ce0c5
tree6c2f204a6203864550dce7f2fd6be8565a6a0f00
parent6c01bbd2cf8cbc1906818b402b10bca2283c4e7e
powerpc/mm: Fix missing page attributes in page table dump

On some targets, _PAGE_RW is 0 and this is _PAGE_RO which is used.
There is also _PAGE_SHARED that is missing.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/mm/dump_linuxpagetables.c