|
@@ -309,15 +309,8 @@ static void amd_get_topology(struct cpuinfo_x86 *c)
|
|
|
|
|
|
/* get information required for multi-node processors */
|
|
|
if (boot_cpu_has(X86_FEATURE_TOPOEXT)) {
|
|
|
- u32 eax, ebx, ecx, edx;
|
|
|
|
|
|
- cpuid(0x8000001e, &eax, &ebx, &ecx, &edx);
|
|
|
- node_id = ecx & 7;
|
|
|
-
|
|
|
- /* get compute unit information */
|
|
|
- smp_num_siblings = ((ebx >> 8) & 3) + 1;
|
|
|
- c->x86_max_cores /= smp_num_siblings;
|
|
|
- c->cpu_core_id = ebx & 0xff;
|
|
|
+ node_id = cpuid_ecx(0x8000001e) & 7;
|
|
|
|
|
|
/*
|
|
|
* We may have multiple LLCs if L3 caches exist, so check if we
|