|
@@ -132,13 +132,7 @@ static inline int pte_exec(pte_t pte)
|
|
|
|
|
|
static inline int pte_special(pte_t pte)
|
|
|
{
|
|
|
- /*
|
|
|
- * See CONFIG_NUMA_BALANCING pte_numa in include/asm-generic/pgtable.h.
|
|
|
- * On x86 we have _PAGE_BIT_NUMA == _PAGE_BIT_GLOBAL+1 ==
|
|
|
- * __PAGE_BIT_SOFTW1 == _PAGE_BIT_SPECIAL.
|
|
|
- */
|
|
|
- return (pte_flags(pte) & _PAGE_SPECIAL) &&
|
|
|
- (pte_flags(pte) & (_PAGE_PRESENT|_PAGE_PROTNONE));
|
|
|
+ return pte_flags(pte) & _PAGE_SPECIAL;
|
|
|
}
|
|
|
|
|
|
static inline unsigned long pte_pfn(pte_t pte)
|