We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e944fd6 commit c819f37Copy full SHA for c819f37
arch/x86/include/asm/pgtable.h
@@ -132,13 +132,7 @@ static inline int pte_exec(pte_t pte)
132
133
static inline int pte_special(pte_t pte)
134
{
135
- /*
136
- * See CONFIG_NUMA_BALANCING pte_numa in include/asm-generic/pgtable.h.
137
- * On x86 we have _PAGE_BIT_NUMA == _PAGE_BIT_GLOBAL+1 ==
138
- * __PAGE_BIT_SOFTW1 == _PAGE_BIT_SPECIAL.
139
- */
140
- return (pte_flags(pte) & _PAGE_SPECIAL) &&
141
- (pte_flags(pte) & (_PAGE_PRESENT|_PAGE_PROTNONE));
+ return pte_flags(pte) & _PAGE_SPECIAL;
142
}
143
144
static inline unsigned long pte_pfn(pte_t pte)
0 commit comments