diff options
Diffstat (limited to 'include/asm-sparc/pgtable.h')
-rw-r--r-- | include/asm-sparc/pgtable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-sparc/pgtable.h b/include/asm-sparc/pgtable.h index 2cc235b74d94..d84af6d95f5c 100644 --- a/include/asm-sparc/pgtable.h +++ b/include/asm-sparc/pgtable.h | |||
@@ -219,6 +219,11 @@ static inline int pte_file(pte_t pte) | |||
219 | return pte_val(pte) & BTFIXUP_HALF(pte_filei); | 219 | return pte_val(pte) & BTFIXUP_HALF(pte_filei); |
220 | } | 220 | } |
221 | 221 | ||
222 | static inline int pte_special(pte_t pte) | ||
223 | { | ||
224 | return 0; | ||
225 | } | ||
226 | |||
222 | /* | 227 | /* |
223 | */ | 228 | */ |
224 | BTFIXUPDEF_HALF(pte_wrprotecti) | 229 | BTFIXUPDEF_HALF(pte_wrprotecti) |
@@ -251,6 +256,8 @@ BTFIXUPDEF_CALL_CONST(pte_t, pte_mkyoung, pte_t) | |||
251 | #define pte_mkdirty(pte) BTFIXUP_CALL(pte_mkdirty)(pte) | 256 | #define pte_mkdirty(pte) BTFIXUP_CALL(pte_mkdirty)(pte) |
252 | #define pte_mkyoung(pte) BTFIXUP_CALL(pte_mkyoung)(pte) | 257 | #define pte_mkyoung(pte) BTFIXUP_CALL(pte_mkyoung)(pte) |
253 | 258 | ||
259 | #define pte_mkspecial(pte) (pte) | ||
260 | |||
254 | #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot) | 261 | #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot) |
255 | 262 | ||
256 | BTFIXUPDEF_CALL(unsigned long, pte_pfn, pte_t) | 263 | BTFIXUPDEF_CALL(unsigned long, pte_pfn, pte_t) |