powerpc/mm: Make pte_pgprot return all pte bits
[linux-2.6-block.git] / arch / powerpc / include / asm / nohash / pte-book3e.h
index 58eef8cb569d03b7f3bfc7a9f54fe0a40e68485c..f95ab6eaf441a02d9db99e8436259143feecf391 100644 (file)
 #define _PTE_NONE_MASK 0
 #endif
 
-/* Mask of bits returned by pte_pgprot() */
-#define PAGE_PROT_BITS (_PAGE_GUARDED | _PAGE_COHERENT | _PAGE_NO_CACHE | \
-                        _PAGE_WRITETHRU | _PAGE_USER | _PAGE_ACCESSED | \
-                        _PAGE_PRIVILEGED | _PAGE_RW | _PAGE_DIRTY | _PAGE_EXEC)
-
 /*
  * We define 2 sets of base prot bits, one for basic pages (ie,
  * cacheable kernel and user pages) and one for non cacheable