aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/common.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-07 20:58:50 -0400
committerIngo Molnar <mingo@elte.hu>2008-09-08 09:31:58 -0400
commit11fdd252bb5b461289fc5c21dc8fc87dc66f3284 (patch)
tree75d3c11ee3af4d0dd59291a0f062302fcf79b072 /arch/x86/kernel/cpu/common.c
parent2d9cd6c27f00958a31622b8e9909d5e35f069b28 (diff)
x86: cpu make amd.c more like amd_64.c v2
1. make 32bit have early_init_amd_mc and amd_detect_cmp 2. seperate init_amd_k5/k6/k7 ... v2: fix compiling for !CONFIG_SMP Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 5cde4b18448c..9a57106c1995 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -629,8 +629,8 @@ static void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
629 c->x86_vendor_id[0] = '\0'; /* Unset */ 629 c->x86_vendor_id[0] = '\0'; /* Unset */
630 c->x86_model_id[0] = '\0'; /* Unset */ 630 c->x86_model_id[0] = '\0'; /* Unset */
631 c->x86_max_cores = 1; 631 c->x86_max_cores = 1;
632#ifdef CONFIG_X86_64
633 c->x86_coreid_bits = 0; 632 c->x86_coreid_bits = 0;
633#ifdef CONFIG_X86_64
634 c->x86_clflush_size = 64; 634 c->x86_clflush_size = 64;
635#else 635#else
636 c->cpuid_level = -1; /* CPUID not detected */ 636 c->cpuid_level = -1; /* CPUID not detected */