|
@@ -14,18 +14,12 @@
|
|
|
#ifndef _PAGE_EXEC
|
|
|
#define _PAGE_EXEC 0
|
|
|
#endif
|
|
|
-#ifndef _PAGE_ENDIAN
|
|
|
-#define _PAGE_ENDIAN 0
|
|
|
-#endif
|
|
|
#ifndef _PAGE_COHERENT
|
|
|
#define _PAGE_COHERENT 0
|
|
|
#endif
|
|
|
#ifndef _PAGE_WRITETHRU
|
|
|
#define _PAGE_WRITETHRU 0
|
|
|
#endif
|
|
|
-#ifndef _PAGE_4K_PFN
|
|
|
-#define _PAGE_4K_PFN 0
|
|
|
-#endif
|
|
|
#ifndef _PAGE_SAO
|
|
|
#define _PAGE_SAO 0
|
|
|
#endif
|
|
@@ -39,9 +33,6 @@
|
|
|
#define _PAGE_RW 0
|
|
|
#endif
|
|
|
|
|
|
-#ifndef _PAGE_PTE
|
|
|
-#define _PAGE_PTE 0
|
|
|
-#endif
|
|
|
/* At least one of _PAGE_PRIVILEGED or _PAGE_USER must be defined */
|
|
|
#ifndef _PAGE_PRIVILEGED
|
|
|
#define _PAGE_PRIVILEGED 0
|
|
@@ -122,7 +113,7 @@ static inline bool pte_user(pte_t pte)
|
|
|
|
|
|
/* Mask of bits returned by pte_pgprot() */
|
|
|
#define PAGE_PROT_BITS (_PAGE_GUARDED | _PAGE_COHERENT | _PAGE_NO_CACHE | \
|
|
|
- _PAGE_WRITETHRU | _PAGE_ENDIAN | _PAGE_4K_PFN | \
|
|
|
+ _PAGE_WRITETHRU | \
|
|
|
_PAGE_USER | _PAGE_ACCESSED | _PAGE_RO | _PAGE_NA | \
|
|
|
_PAGE_PRIVILEGED | \
|
|
|
_PAGE_RW | _PAGE_HWWRITE | _PAGE_DIRTY | _PAGE_EXEC)
|
|
@@ -208,12 +199,6 @@ static inline bool pte_user(pte_t pte)
|
|
|
#define PAGE_AGP (PAGE_KERNEL_NC)
|
|
|
#define HAVE_PAGE_AGP
|
|
|
|
|
|
-#ifndef _PAGE_READ
|
|
|
-/* if not defined, we should not find _PAGE_WRITE too */
|
|
|
-#define _PAGE_READ 0
|
|
|
-#define _PAGE_WRITE _PAGE_RW
|
|
|
-#endif
|
|
|
-
|
|
|
#ifndef H_PAGE_4K_PFN
|
|
|
#define H_PAGE_4K_PFN 0
|
|
|
#endif
|