diff options
Diffstat (limited to 'include/asm-cris/pgtable.h')
-rw-r--r-- | include/asm-cris/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/pgtable.h b/include/asm-cris/pgtable.h index a2607575681b..4c373624ee97 100644 --- a/include/asm-cris/pgtable.h +++ b/include/asm-cris/pgtable.h | |||
@@ -115,6 +115,7 @@ static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WR | |||
115 | static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } | 115 | static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } |
116 | static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } | 116 | static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
117 | static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } | 117 | static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } |
118 | static inline int pte_special(pte_t pte) { return 0; } | ||
118 | 119 | ||
119 | static inline pte_t pte_wrprotect(pte_t pte) | 120 | static inline pte_t pte_wrprotect(pte_t pte) |
120 | { | 121 | { |
@@ -162,6 +163,7 @@ static inline pte_t pte_mkyoung(pte_t pte) | |||
162 | } | 163 | } |
163 | return pte; | 164 | return pte; |
164 | } | 165 | } |
166 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } | ||
165 | 167 | ||
166 | /* | 168 | /* |
167 | * Conversion functions: convert a page and protection to a page entry, | 169 | * Conversion functions: convert a page and protection to a page entry, |