projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcf36bf
)
[PATCH] x86_64: Remove bogus special case in AMD core parsing.
author
Andi Kleen
<ak@suse.de>
Sat, 25 Mar 2006 15:31:49 +0000
(16:31 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:14:39 +0000
(09:14 -0800)
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>
arch/x86_64/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/setup.c
b/arch/x86_64/kernel/setup.c
index db70090a08f7a86fecbefdfc53b6da234779b6ec..a57eec8311a79a5ac10bdc76622e2dc0627598e0 100644
(file)
--- 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);
}