Skip to contentSkip to conversation

powerpc/mm: Fixup _HPAGE_CHG_MASK

PATCH Applied Aneesh Kumar K.V 2 participants 2 messages Jan 27, 2016 – Jan 29, 2016 PowerPC

lore
Share & tools
lore
#0 lore raw

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

---
 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
index 06f17e778c27..8d1c8162f0c1 100644
@@ -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