powerpc/mm: Unify PTE_RPN_SHIFT and _PAGE_CHG_MASK definitions
[deliverable/linux.git] / arch / powerpc / include / asm / pte-fsl-booke.h
index 0fe5de7bea3dbf6edbefab3751b2592d6769742f..10820f58acf572355b973a62e5b9d1cb8a1886a5 100644 (file)
@@ -36,6 +36,8 @@
 #ifdef CONFIG_PTE_64BIT
 /* ERPN in a PTE never gets cleared, ignore it */
 #define _PTE_NONE_MASK 0xffffffffffff0000ULL
+/* We extend the size of the PTE flags area when using 64-bit PTEs */
+#define PTE_RPN_SHIFT  (PAGE_SHIFT + 8)
 #endif
 
 #define _PMD_PRESENT   0
This page took 0.023686 seconds and 5 git commands to generate.