aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/amd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index fc563fabde67..0f0ace5d7db5 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -540,7 +540,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
540#endif 540#endif
541 541
542 if (c->extended_cpuid_level >= 0x80000006) { 542 if (c->extended_cpuid_level >= 0x80000006) {
543 if ((c->x86 >= 0x0f) && (cpuid_edx(0x80000006) & 0xf000)) 543 if (cpuid_edx(0x80000006) & 0xf000)
544 num_cache_leaves = 4; 544 num_cache_leaves = 4;
545 else 545 else
546 num_cache_leaves = 3; 546 num_cache_leaves = 3;