diff options
Diffstat (limited to 'include/asm-x86/pgtable.h')
-rw-r--r-- | include/asm-x86/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 81805403b64a..182f9d4c570f 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h | |||
@@ -206,7 +206,7 @@ static inline int pte_exec(pte_t pte) | |||
206 | 206 | ||
207 | static inline int pte_special(pte_t pte) | 207 | static inline int pte_special(pte_t pte) |
208 | { | 208 | { |
209 | return pte_val(pte) & _PAGE_SPECIAL; | 209 | return pte_flags(pte) & _PAGE_SPECIAL; |
210 | } | 210 | } |
211 | 211 | ||
212 | static inline unsigned long pte_pfn(pte_t pte) | 212 | static inline unsigned long pte_pfn(pte_t pte) |