aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-03-25 16:31:49 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 09:14:39 -0800
commit0085979006fd55ec7c2f721bdaa9af130a08d62a (patch)
tree5d740dc3b3b1446b2e07f0a1456816b1103b1267 /arch/x86_64
parentdcf36bfa5de6d4e37878d4c98b6986fee4eb8b4c (diff)
[PATCH] x86_64: Remove bogus special case in AMD core parsing.
No need to restrict to power of two here. TBD needs more double checking Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-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 db70090a08f..a57eec8311a 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -946,8 +946,6 @@ static int __init init_amd(struct cpuinfo_x86 *c)
if (c->extended_cpuid_level >= 0x80000008) {
c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1;
- if (c->x86_max_cores & (c->x86_max_cores - 1))
- c->x86_max_cores = 1;
amd_detect_cmp(c);
}