diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 18:25:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:16 -0400 |
commit | 635186447d0e6f3b35895fda993a266a1315d2a7 (patch) | |
tree | 7d92e2b57c66f076908a5739056d823a4bde0121 /arch/i386/kernel/cpu/common.c | |
parent | 3dd9d514846cdca1dcef2e4fce666d85e199e844 (diff) |
[PATCH] x86_64: Final support for AMD dual core
Clean up the code greatly. Now uses the infrastructure from the Intel dual
core patch Should fix a final bug noticed by Tyan of not detecting the nodes
correctly in some corner cases.
Patch for x86-64 and i386
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/cpu/common.c')
-rw-r--r-- | arch/i386/kernel/cpu/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/common.c b/arch/i386/kernel/cpu/common.c index ed4c9c3fe667..6be0310e3cd3 100644 --- a/arch/i386/kernel/cpu/common.c +++ b/arch/i386/kernel/cpu/common.c | |||
@@ -437,7 +437,7 @@ void __init detect_ht(struct cpuinfo_x86 *c) | |||
437 | int index_msb, tmp; | 437 | int index_msb, tmp; |
438 | int cpu = smp_processor_id(); | 438 | int cpu = smp_processor_id(); |
439 | 439 | ||
440 | if (!cpu_has(c, X86_FEATURE_HT)) | 440 | if (!cpu_has(c, X86_FEATURE_HT) || cpu_has(c, X86_FEATURE_CMP_LEGACY)) |
441 | return; | 441 | return; |
442 | 442 | ||
443 | cpuid(1, &eax, &ebx, &ecx, &edx); | 443 | cpuid(1, &eax, &ebx, &ecx, &edx); |