Skip to content

Commit 28d60a9

Browse files
committed
fix FreeBSD build
Change-Id: I378726c9d6db78108ae363d7d585cea93ccbfebb
1 parent 6936bfd commit 28d60a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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, DOMAINSET_POLICY_PREFER) == 0)
7497+
sizeof(cpuset), &cpuset, 0) == 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)