Signed-off-by: Karel Zak <kzak@redhat.com>
arm_ids_decode(ct);
arm_rXpY_decode(ct);
- if (cxt->is_cluster)
+
+ if (!cxt->noalive && cxt->is_cluster)
ct->nr_socket_on_cluster = get_number_of_physical_sockets_from_dmi();
}
{
struct stat st;
- if (!(strcmp(cxt->arch->name, "aarch64")) &&
- (stat(_PATH_ACPI_PPTT, &st) < 0) && (cxt->ncputypes == 1))
+ if (!cxt->noalive
+ && strcmp(cxt->arch->name, "aarch64") == 0
+ && stat(_PATH_ACPI_PPTT, &st) < 0 && cxt->ncputypes == 1)
return 1;
else
return 0;