diff options
Diffstat (limited to 'include/asm-x86/cpufeature.h')
-rw-r--r-- | include/asm-x86/cpufeature.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/cpufeature.h index 4c7875554d01..acbf6681740d 100644 --- a/include/asm-x86/cpufeature.h +++ b/include/asm-x86/cpufeature.h | |||
@@ -163,6 +163,12 @@ | |||
163 | #define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH) | 163 | #define cpu_has_clflush boot_cpu_has(X86_FEATURE_CLFLSH) |
164 | #define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS) | 164 | #define cpu_has_bts boot_cpu_has(X86_FEATURE_BTS) |
165 | 165 | ||
166 | #if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64) | ||
167 | # define cpu_has_invlpg 1 | ||
168 | #else | ||
169 | # define cpu_has_invlpg (boot_cpu_data.x86 > 3) | ||
170 | #endif | ||
171 | |||
166 | #ifdef CONFIG_X86_64 | 172 | #ifdef CONFIG_X86_64 |
167 | 173 | ||
168 | #undef cpu_has_vme | 174 | #undef cpu_has_vme |
@@ -183,6 +189,9 @@ | |||
183 | #undef cpu_has_centaur_mcr | 189 | #undef cpu_has_centaur_mcr |
184 | #define cpu_has_centaur_mcr 0 | 190 | #define cpu_has_centaur_mcr 0 |
185 | 191 | ||
192 | #undef cpu_has_pge | ||
193 | #define cpu_has_pge 1 | ||
194 | |||
186 | #endif /* CONFIG_X86_64 */ | 195 | #endif /* CONFIG_X86_64 */ |
187 | 196 | ||
188 | #endif /* _ASM_X86_CPUFEATURE_H */ | 197 | #endif /* _ASM_X86_CPUFEATURE_H */ |