aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy33/files/patch-src_cpuset.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/haproxy33/files/patch-src_cpuset.c')
-rw-r--r--net/haproxy33/files/patch-src_cpuset.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/haproxy33/files/patch-src_cpuset.c b/net/haproxy33/files/patch-src_cpuset.c
new file mode 100644
index 000000000000..caf6945ee14c
--- /dev/null
+++ b/net/haproxy33/files/patch-src_cpuset.c
@@ -0,0 +1,14 @@
+--- src/cpuset.c.orig 2025-10-18 09:24:05 UTC
++++ src/cpuset.c
+@@ -51,7 +51,11 @@ void ha_cpuset_and(struct hap_cpuset *dst, struct hap_
+ CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset);
+
+ #elif defined(CPUSET_USE_FREEBSD_CPUSET)
++#if defined(CPU_ALLOC)
++ CPU_AND(&dst->cpuset, &dst->cpuset, &src->cpuset);
++#else
+ CPU_AND(&dst->cpuset, &src->cpuset);
++#endif
+
+ #elif defined(CPUSET_USE_ULONG)
+ dst->cpuset &= src->cpuset;