]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-avr32/pgtable.h
mm: introduce pte_special pte bit
[linux-2.6-omap-h63xx.git] / include / asm-avr32 / pgtable.h
index 3ae7b548fce764bc04dd2e00a93e9b2f330dce9a..c0e5e29417df5454d9b286d32d326010ebcef463 100644 (file)
@@ -212,6 +212,10 @@ static inline int pte_young(pte_t pte)
 {
        return pte_val(pte) & _PAGE_ACCESSED;
 }
+static inline int pte_special(pte_t pte)
+{
+       return 0;
+}
 
 /*
  * The following only work if pte_present() is not true.
@@ -252,6 +256,10 @@ static inline pte_t pte_mkyoung(pte_t pte)
        set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED));
        return pte;
 }
+static inline pte_t pte_mkspecial(pte_t pte)
+{
+       return pte;
+}
 
 #define pmd_none(x)    (!pmd_val(x))
 #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT)