powerpc/mm: Fixup _HPAGE_CHG_MASK
PATCH 1/1 powerpc/mm: Fixup _HPAGE_CHG_MASK
This got wrongly updated by 7aa9a23c69eae5bfba4f1f92c58d89edc334c8ae ("powerpc, thp: remove infrastructure for handling splitting PMDs") during the last merge. Fix this up
Signed-off-by Aneesh Kumar K.V <[email protected]>
--- arch/powerpc/include/asm/book3s/64/hash.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/book3s/64/hash.h +3 -1
@@ -50,7 +50,9 @@* set of bits not changed in pmd_modify. */ #define _HPAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \ - _PAGE_ACCESSED | _PAGE_THP_HUGE) + _PAGE_ACCESSED | _PAGE_THP_HUGE | _PAGE_PTE | \ + _PAGE_SOFT_DIRTY) +#ifdef CONFIG_PPC_64K_PAGES #include <asm/book3s/64/hash-64k.h>
Signature · 1 line
2.5.0
Quoted 5 lines · Aneesh Kumar K.V
This got wrongly updated by
7aa9a23c69eae5bfba4f1f92c58d89edc334c8ae("powerpc, thp: remove infrastructure for handling splitting PMDs") during the last merge. Fix this upSigned-off-by Aneesh Kumar K.V <[email protected]>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/2d19fc639516dc7b4184450b31
cheers