diff options
Diffstat (limited to 'include/asm-avr32')
-rw-r--r-- | include/asm-avr32/pgtable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-avr32/pgtable.h b/include/asm-avr32/pgtable.h index 3ae7b548fce7..c0e5e29417df 100644 --- a/include/asm-avr32/pgtable.h +++ b/include/asm-avr32/pgtable.h | |||
@@ -212,6 +212,10 @@ static inline int pte_young(pte_t pte) | |||
212 | { | 212 | { |
213 | return pte_val(pte) & _PAGE_ACCESSED; | 213 | return pte_val(pte) & _PAGE_ACCESSED; |
214 | } | 214 | } |
215 | static inline int pte_special(pte_t pte) | ||
216 | { | ||
217 | return 0; | ||
218 | } | ||
215 | 219 | ||
216 | /* | 220 | /* |
217 | * The following only work if pte_present() is not true. | 221 | * The following only work if pte_present() is not true. |
@@ -252,6 +256,10 @@ static inline pte_t pte_mkyoung(pte_t pte) | |||
252 | set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); | 256 | set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); |
253 | return pte; | 257 | return pte; |
254 | } | 258 | } |
259 | static inline pte_t pte_mkspecial(pte_t pte) | ||
260 | { | ||
261 | return pte; | ||
262 | } | ||
255 | 263 | ||
256 | #define pmd_none(x) (!pmd_val(x)) | 264 | #define pmd_none(x) (!pmd_val(x)) |
257 | #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT) | 265 | #define pmd_present(x) (pmd_val(x) & _PAGE_PRESENT) |