|
@@ -212,8 +212,6 @@ static void __init init_amd(struct cpuinfo_x86 *c)
|
|
|
|
|
|
if (cpuid_eax(0x80000000) >= 0x80000008) {
|
|
if (cpuid_eax(0x80000000) >= 0x80000008) {
|
|
c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1;
|
|
c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1;
|
|
- if (c->x86_max_cores & (c->x86_max_cores - 1))
|
|
|
|
- c->x86_max_cores = 1;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
if (cpuid_eax(0x80000000) >= 0x80000007) {
|
|
if (cpuid_eax(0x80000000) >= 0x80000007) {
|