about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/Makefile2
-rw-r--r--nptl/Versions2
-rw-r--r--nptl/pthread_kill_other_threads.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 103257dc74..a3d1ef8d66 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -91,6 +91,7 @@ routines = \
   pthread_key_delete \
   pthread_keys \
   pthread_kill \
+  pthread_kill_other_threads \
   pthread_mutex_cond_lock \
   pthread_mutex_conf \
   pthread_mutex_consistent \
@@ -157,7 +158,6 @@ libpthread-routines = \
   pthread_getname \
   pthread_join \
   pthread_join_common \
-  pthread_kill_other_threads \
   pthread_mutex_getprioceiling \
   pthread_mutex_setprioceiling \
   pthread_mutex_timedlock \
diff --git a/nptl/Versions b/nptl/Versions
index cf4815ea25..a14f404f88 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -40,6 +40,7 @@ libc {
     pthread_key_create;
     pthread_key_delete;
     pthread_kill;
+    pthread_kill_other_threads_np;
     pthread_mutex_destroy;
     pthread_mutex_init;
     pthread_mutex_lock;
@@ -198,7 +199,6 @@ libpthread {
     pthread_create;
     pthread_detach;
     pthread_join;
-    pthread_kill_other_threads_np;
     pthread_mutex_trylock;
     pthread_mutexattr_destroy;
     pthread_mutexattr_getkind_np;
diff --git a/nptl/pthread_kill_other_threads.c b/nptl/pthread_kill_other_threads.c
index 44018db50d..0cb336e4f8 100644
--- a/nptl/pthread_kill_other_threads.c
+++ b/nptl/pthread_kill_other_threads.c
@@ -18,8 +18,7 @@
 
 #include <shlib-compat.h>
 
-
-#ifdef SHARED
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
 /* This function does not serve a useful purpose in the thread library
    implementation anymore.  It used to be necessary when then kernel
    could not shut down "processes" but this is not the case anymore.