Skip to content

Commit a24d023

Browse files
committed
x86: add a debug messages when disabling because of non-unique APIC ids
Signed-off-by: Brice Goglin <[email protected]>
1 parent 22e56bc commit a24d023

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hwloc/topology-x86.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,9 +1465,10 @@ look_procs(struct hwloc_backend *backend, struct procinfo *infos, unsigned long
14651465
}
14661466
}
14671467
}
1468+
} else {
1469+
hwloc_debug("x86 APIC IDs aren't unique, x86 discovery ignored.\n");
1470+
/* do nothing and return success, so that the caller does nothing either */
14681471
}
1469-
/* if !data->apicid_unique, do nothing and return success, so that the caller does nothing either */
1470-
14711472
return 0;
14721473
}
14731474

0 commit comments

Comments
 (0)