diff options
author | Christophe Leroy <[email protected]> | 2018-10-15 06:37:41 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-10-20 13:26:47 +1100 |
commit | 3ff38e1874863827374b02b4f31c73faa3744e1c (patch) | |
tree | 94d3ba8404cfded1d29fae9844feeaf3882ec00a /arch/powerpc/mm/mmu_decl.h | |
parent | c6c26fb55e8e4b3fc376be5611685990a17de27a (diff) |
powerpc/book3s64: fix dump_linuxpagetables "present" flag
Since commit bd0dbb73e013 ("powerpc/mm/books3s: Add new pte bit to
mark pte temporarily invalid."), _PAGE_PRESENT doesn't mean exactly
that a page is present. A page is also considered preset when
_PAGE_INVALID is set.
This patch changes the meaning of "present" and adds a status "valid"
associated to the _PAGE_PRESENT flag.
Fixes: bd0dbb73e013 ("powerpc/mm/books3s: Add new pte bit to mark pte temporarily invalid.")
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
0 files changed, 0 insertions, 0 deletions