]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-ia64/pgtable.h
[PATCH] Enable mprotect on huge pages
[karo-tx-linux.git] / include / asm-ia64 / pgtable.h
index e2560c58384b04bfc8016b1034a65ffd806f657f..5890972a69bf00d88cb3e8aec04a72ace578be3b 100644 (file)
@@ -314,7 +314,7 @@ ia64_phys_addr_valid (unsigned long addr)
 #define pte_mkyoung(pte)       (__pte(pte_val(pte) | _PAGE_A))
 #define pte_mkclean(pte)       (__pte(pte_val(pte) & ~_PAGE_D))
 #define pte_mkdirty(pte)       (__pte(pte_val(pte) | _PAGE_D))
-#define pte_mkhuge(pte)                (__pte(pte_val(pte) | _PAGE_P))
+#define pte_mkhuge(pte)                (__pte(pte_val(pte)))
 
 /*
  * Macro to a page protection value as "uncacheable".  Note that "protection" is really a