x86: make detect_ht depend on CONFIG_X86_HT
[sfrench/cifs-2.6.git] / include / asm-x86 / processor.h
index bbbbe1fc5ce1095ca9597a284fba9d1f6d5646ed..fc5e961c5b60214a6f5101f50741d3fc0e1973af 100644 (file)
@@ -166,11 +166,7 @@ extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);
 extern unsigned short num_cache_leaves;
 
 extern void detect_extended_topology(struct cpuinfo_x86 *c);
-#if defined(CONFIG_X86_HT) || defined(CONFIG_X86_64)
 extern void detect_ht(struct cpuinfo_x86 *c);
-#else
-static inline void detect_ht(struct cpuinfo_x86 *c) {}
-#endif
 
 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx,
                                unsigned int *ecx, unsigned int *edx)