Skip to content

Commit 7b7ff20

Browse files
committed
Revert "fix FreeBSD build"
This reverts commit 28d60a9.
1 parent 28d60a9 commit 7b7ff20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cpucounters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7494,7 +7494,7 @@ int32 PCM::mapNUMANodeToSocket(uint32 numa_node_id) const
74947494

74957495
// cpuset_getdomain returns the cpuset for a specific domain
74967496
if (cpuset_getdomain(CPU_LEVEL_WHICH, CPU_WHICH_DOMAIN, numa_node_id,
7497-
sizeof(cpuset), &cpuset, 0) == 0)
7497+
sizeof(cpuset), &cpuset, DOMAINSET_POLICY_PREFER) == 0)
74987498
{
74997499
// Find the first CPU in this domain's cpuset
75007500
for (size_t cpu = 0; cpu < topology.size(); ++cpu)

0 commit comments

Comments
 (0)