]> err.no Git - linux-2.6/blobdiff - include/asm-x86/pgtable.h
keys: allow the callout data to be passed as a blob rather than a string
[linux-2.6] / include / asm-x86 / pgtable.h
index a496d6335d3baa644f80bd0c9e293ce5b9fc480c..801b31f714524052a2e44652bcf8db0746a45a57 100644 (file)
@@ -195,6 +195,11 @@ static inline int pte_exec(pte_t pte)
        return !(pte_val(pte) & _PAGE_NX);
 }
 
+static inline int pte_special(pte_t pte)
+{
+       return 0;
+}
+
 static inline int pmd_large(pmd_t pte)
 {
        return (pmd_val(pte) & (_PAGE_PSE | _PAGE_PRESENT)) ==
@@ -256,6 +261,11 @@ static inline pte_t pte_clrglobal(pte_t pte)
        return __pte(pte_val(pte) & ~(pteval_t)_PAGE_GLOBAL);
 }
 
+static inline pte_t pte_mkspecial(pte_t pte)
+{
+       return pte;
+}
+
 extern pteval_t __supported_pte_mask;
 
 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)