summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/setup.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-07-28 21:15:50 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 21:46:02 -0700
commit07291d431ce6c6660c35dd4e5e980a406dc3629a (patch)
tree6238e9d5ef085b714b19d2261d6e860bbf967bca /arch/x86_64/kernel/setup.c
parented6b676ca8b50e0b538e61c283d52fd04f007abf (diff)
downloadkernel-crypto-07291d431ce6c6660c35dd4e5e980a406dc3629a.tar.gz
kernel-crypto-07291d431ce6c6660c35dd4e5e980a406dc3629a.tar.xz
kernel-crypto-07291d431ce6c6660c35dd4e5e980a406dc3629a.zip
[PATCH] x86_64: Fix SRAT handling on non dual core systems
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/setup.c')
-rw-r--r--arch/x86_64/kernel/setup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 0c7ec94004a..0aa526298e9 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -765,8 +765,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
int cpu = smp_processor_id();
int node = 0;
unsigned bits;
- if (c->x86_num_cores == 1)
- return;
bits = 0;
while ((1 << bits) < c->x86_num_cores)