[v1.06][PPC] Small fix to see if helps

This commit is contained in:
Dr-Noob
2024-08-24 12:25:02 +01:00
parent e7ec4d492e
commit f84160f97e

View File

@@ -84,6 +84,10 @@ struct topology* get_topology_info(struct cache* cach) {
// fill_package_ids_from_sys failed, use a
// more sophisticated wat to find the number of sockets
topo->sockets = get_num_sockets_package_cpus(topo);
if (topo->sockets == UNKNOWN_DATA) {
printWarn("get_num_sockets_package_cpus failed: assuming 1 socket");
topo->sockets = 1;
}
}
else {
// fill_package_ids_from_sys succeeded, use the