diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/pgtable.h b/include/asm-arm/pgtable.h index 5e0182485d8c..5571c13c3f3b 100644 --- a/include/asm-arm/pgtable.h +++ b/include/asm-arm/pgtable.h | |||
@@ -260,6 +260,7 @@ extern struct page *empty_zero_page; | |||
260 | #define pte_write(pte) (pte_val(pte) & L_PTE_WRITE) | 260 | #define pte_write(pte) (pte_val(pte) & L_PTE_WRITE) |
261 | #define pte_dirty(pte) (pte_val(pte) & L_PTE_DIRTY) | 261 | #define pte_dirty(pte) (pte_val(pte) & L_PTE_DIRTY) |
262 | #define pte_young(pte) (pte_val(pte) & L_PTE_YOUNG) | 262 | #define pte_young(pte) (pte_val(pte) & L_PTE_YOUNG) |
263 | #define pte_special(pte) (0) | ||
263 | 264 | ||
264 | /* | 265 | /* |
265 | * The following only works if pte_present() is not true. | 266 | * The following only works if pte_present() is not true. |
@@ -280,6 +281,8 @@ PTE_BIT_FUNC(mkdirty, |= L_PTE_DIRTY); | |||
280 | PTE_BIT_FUNC(mkold, &= ~L_PTE_YOUNG); | 281 | PTE_BIT_FUNC(mkold, &= ~L_PTE_YOUNG); |
281 | PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG); | 282 | PTE_BIT_FUNC(mkyoung, |= L_PTE_YOUNG); |
282 | 283 | ||
284 | static inline pte_t pte_mkspecial(pte_t pte) { return pte; } | ||
285 | |||
283 | /* | 286 | /* |
284 | * Mark the prot value as uncacheable and unbufferable. | 287 | * Mark the prot value as uncacheable and unbufferable. |
285 | */ | 288 | */ |