diff options
Diffstat (limited to 'arch/i386/kernel/cpu/amd.c')
-rw-r--r-- | arch/i386/kernel/cpu/amd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/amd.c b/arch/i386/kernel/cpu/amd.c index 0810f81f2a05..ff2b2154ac1b 100644 --- a/arch/i386/kernel/cpu/amd.c +++ b/arch/i386/kernel/cpu/amd.c | |||
@@ -212,8 +212,6 @@ static void __init init_amd(struct cpuinfo_x86 *c) | |||
212 | 212 | ||
213 | if (cpuid_eax(0x80000000) >= 0x80000008) { | 213 | if (cpuid_eax(0x80000000) >= 0x80000008) { |
214 | c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1; | 214 | c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1; |
215 | if (c->x86_max_cores & (c->x86_max_cores - 1)) | ||
216 | c->x86_max_cores = 1; | ||
217 | } | 215 | } |
218 | 216 | ||
219 | if (cpuid_eax(0x80000000) >= 0x80000007) { | 217 | if (cpuid_eax(0x80000000) >= 0x80000007) { |