diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 8277941cbe99..3270116b1488 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -180,6 +180,14 @@ extern void init_amd_cacheinfo(struct cpuinfo_x86 *c); | |||
180 | extern void detect_extended_topology(struct cpuinfo_x86 *c); | 180 | extern void detect_extended_topology(struct cpuinfo_x86 *c); |
181 | extern void detect_ht(struct cpuinfo_x86 *c); | 181 | extern void detect_ht(struct cpuinfo_x86 *c); |
182 | 182 | ||
183 | #ifdef CONFIG_X86_32 | ||
184 | extern int have_cpuid_p(void); | ||
185 | #else | ||
186 | static inline int have_cpuid_p(void) | ||
187 | { | ||
188 | return 1; | ||
189 | } | ||
190 | #endif | ||
183 | static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, | 191 | static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, |
184 | unsigned int *ecx, unsigned int *edx) | 192 | unsigned int *ecx, unsigned int *edx) |
185 | { | 193 | { |