aboutsummaryrefslogtreecommitdiffstats
path: root/main/rng-tools/06-musl-pthread-setaffinity-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/rng-tools/06-musl-pthread-setaffinity-fix.patch')
-rw-r--r--main/rng-tools/06-musl-pthread-setaffinity-fix.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/main/rng-tools/06-musl-pthread-setaffinity-fix.patch b/main/rng-tools/06-musl-pthread-setaffinity-fix.patch
deleted file mode 100644
index 1daa053e7c7..00000000000
--- a/main/rng-tools/06-musl-pthread-setaffinity-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Change already including in Upstream master:
-
-Fix arg 1 of pthread_setaffinity_np
-prototype passes pthread_t, not *pthread_t
-
-Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
-
----
-
-diff -aur a/rngd_jitter.c b/rngd_jitter.c
---- a/rngd_jitter.c
-+++ b/rngd_jitter.c
-@@ -83,7 +83,7 @@
- start_routine, arg);
-
- #ifdef HAVE_PTHREAD_SETAFFINITY
-- pthread_setaffinity_np(&thread_ctx->notime_thread_id, cpusize, cpus);
-+ pthread_setaffinity_np(thread_ctx->notime_thread_id, cpusize, cpus);
- #endif
-
- CPU_FREE(cpus);