]> git.neil.brown.name Git - history.git/commitdiff
ia64: Fix _PAGE_CHG_MASK so PROT_NONE works again. Caught by Linus.
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 10 Nov 2003 10:35:21 +0000 (02:35 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 10 Nov 2003 10:35:21 +0000 (02:35 -0800)
include/asm-ia64/pgtable.h

index 6f8d7c9287ba162d90cf4954ca3d7cfef45aad9e..d664841782947ce9bb7dcc8b36aaad05c65c706f 100644 (file)
@@ -63,8 +63,8 @@
 #define _PAGE_FILE             (1 << 1)                /* see swap & file pte remarks below */
 
 #define _PFN_MASK              _PAGE_PPN_MASK
-/* Mask of bits which may be changed by pte_modify(): */
-#define _PAGE_CHG_MASK         _PAGE_AR_MASK
+/* Mask of bits which may be changed by pte_modify(); the odd bits are there for _PAGE_PROTNONE */
+#define _PAGE_CHG_MASK (_PAGE_P | _PAGE_PROTNONE | _PAGE_PL_MASK | _PAGE_AR_MASK | _PAGE_ED)
 
 #define _PAGE_SIZE_4K  12
 #define _PAGE_SIZE_8K  13