Skip to content

Commit

Permalink
[PATCH] x86_64: Remove bogus special case in AMD core parsing.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Mar 25, 2006
1 parent dcf36bf commit 0085979
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0085979

Please sign in to comment.