summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Mosberger <davidm@tiger.hpl.hp.com>2003-11-10 02:35:21 -0800
committerDavid Mosberger <davidm@tiger.hpl.hp.com>2003-11-10 02:35:21 -0800
commit25e6bed894367f3904ff90a5a20adf1a313cb90c (patch)
tree3dfc50700684a7faaf2c33453bced22183c04f5e /include
parent1afa1a91a752d29fe66129d55065473a1d835974 (diff)
ia64: Fix _PAGE_CHG_MASK so PROT_NONE works again. Caught by Linus.
Diffstat (limited to 'include')
-rw-r--r--include/asm-ia64/pgtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ia64/pgtable.h b/include/asm-ia64/pgtable.h
index 6f8d7c9287ba..d66484178294 100644
--- a/include/asm-ia64/pgtable.h
+++ b/include/asm-ia64/pgtable.h
@@ -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