aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/pgtable.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
index 34d42a7d5595..67fc3d2b0aab 100644
--- a/arch/x86/include/asm/pgtable.h
+++ b/arch/x86/include/asm/pgtable.h
@@ -132,13 +132,7 @@ static inline int pte_exec(pte_t pte)
132 132
133static inline int pte_special(pte_t pte) 133static inline int pte_special(pte_t pte)
134{ 134{
135 /* 135 return pte_flags(pte) & _PAGE_SPECIAL;
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));
142} 136}
143 137
144static inline unsigned long pte_pfn(pte_t pte) 138static inline unsigned long pte_pfn(pte_t pte)