]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bd6d21a9face49cf91dfb95fffa34f56a3634f6
tree6c2f204a6203864550dce7f2fd6be8565a6a0f00
parentfa394f1d62d8f9d12eecfd547c68b2fd4e3af978
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