summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/zhaoxin.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/zhaoxin.c')
-rw-r--r--arch/x86/kernel/cpu/zhaoxin.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/zhaoxin.c b/arch/x86/kernel/cpu/zhaoxin.c
index 415564a6523b..89b1c8a70fe8 100644
--- a/arch/x86/kernel/cpu/zhaoxin.c
+++ b/arch/x86/kernel/cpu/zhaoxin.c
@@ -4,6 +4,7 @@
#include <asm/cpu.h>
#include <asm/cpufeature.h>
+#include <asm/msr.h>
#include "cpu.h"
@@ -71,10 +72,6 @@ static void init_zhaoxin(struct cpuinfo_x86 *c)
{
early_init_zhaoxin(c);
init_intel_cacheinfo(c);
- detect_num_cpu_cores(c);
-#ifdef CONFIG_X86_32
- detect_ht(c);
-#endif
if (c->cpuid_level > 9) {
unsigned int eax = cpuid_eax(10);