powerpc/mm/book3s: Update pmd_present to look at _PAGE_PRESENT bit
[linux-2.6-block.git] / arch / powerpc / include / asm / book3s / 64 / hash.h
index d52a51b2ce7baf170af224d2264a88f746ef58a3..fcf8b10a209feff70217c0bfc88b41ad0192fb56 100644 (file)
 #include <asm/book3s/64/hash-4k.h>
 #endif
 
+/* Bits to set in a PMD/PUD/PGD entry valid bit*/
+#define HASH_PMD_VAL_BITS              (0x8000000000000000UL)
+#define HASH_PUD_VAL_BITS              (0x8000000000000000UL)
+#define HASH_PGD_VAL_BITS              (0x8000000000000000UL)
+
 /*
  * Size of EA range mapped by our pagetables.
  */