diff options
Diffstat (limited to 'include/asm-mn10300/pgtable.h')
-rw-r--r-- | include/asm-mn10300/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mn10300/pgtable.h b/include/asm-mn10300/pgtable.h index 375c4941deda..6dc30fc827c4 100644 --- a/include/asm-mn10300/pgtable.h +++ b/include/asm-mn10300/pgtable.h | |||
@@ -224,6 +224,7 @@ static inline int pte_read(pte_t pte) { return pte_val(pte) & __PAGE_PROT_USER; | |||
224 | static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } | 224 | static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } |
225 | static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } | 225 | static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } |
226 | static inline int pte_write(pte_t pte) { return pte_val(pte) & __PAGE_PROT_WRITE; } | 226 | static inline int pte_write(pte_t pte) { return pte_val(pte) & __PAGE_PROT_WRITE; } |
227 | static inline int pte_special(pte_t pte){ return 0; } | ||
227 | 228 | ||
228 | /* | 229 | /* |
229 | * The following only works if pte_present() is not true. | 230 | * The following only works if pte_present() is not true. |
@@ -265,6 +266,8 @@ static inline pte_t pte_mkwrite(pte_t pte) | |||
265 | return pte; | 266 | return pte; |
266 | } | 267 | } |
267 | 268 | ||
269 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } | ||
270 | |||
268 | #define pte_ERROR(e) \ | 271 | #define pte_ERROR(e) \ |
269 | printk(KERN_ERR "%s:%d: bad pte %08lx.\n", \ | 272 | printk(KERN_ERR "%s:%d: bad pte %08lx.\n", \ |
270 | __FILE__, __LINE__, pte_val(e)) | 273 | __FILE__, __LINE__, pte_val(e)) |