aboutsummaryrefslogtreecommitdiff
path: root/nptl/Versions
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-15 11:09:05 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-20 20:23:20 +0200
commit52302bc298c99dc0d2ca3d1b07b4349129babae3 (patch)
treebca1827706ac187fc61f0a48555d34b293df2fa3 /nptl/Versions
parent1979819d680bb5394a878261519f8a3e4a2886a1 (diff)
downloadglibc-52302bc298c99dc0d2ca3d1b07b4349129babae3.zip
glibc-52302bc298c99dc0d2ca3d1b07b4349129babae3.tar.gz
glibc-52302bc298c99dc0d2ca3d1b07b4349129babae3.tar.bz2
nptl: Move pthread_getaffinity_np into libc
This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> The abilist updates were performed by: git ls-files 'sysdeps/unix/sysv/linux/**/libc.abilist' \ | while read x ; do echo "GLIBC_2.32 pthread_getaffinity_np F" >> $x done python3 scripts/move-symbol-to-libc.py pthread_getaffinity_np Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/Versions')
-rw-r--r--nptl/Versions5
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/Versions b/nptl/Versions
index a799e63..637d100 100644
--- a/nptl/Versions
+++ b/nptl/Versions
@@ -31,6 +31,7 @@ libc {
}
GLIBC_2.3.3 {
pthread_attr_setaffinity_np;
+ pthread_getaffinity_np;
}
GLIBC_2.3.4 {
pthread_attr_setaffinity_np;
@@ -41,6 +42,7 @@ libc {
}
GLIBC_2.32 {
pthread_attr_setaffinity_np;
+ pthread_getaffinity_np;
pthread_sigmask;
}
GLIBC_PRIVATE {
@@ -53,6 +55,7 @@ libc {
# Used by the C11 threads implementation.
__pthread_cond_destroy; __pthread_cond_init;
__pthread_attr_setaffinity_np;
+ __pthread_getaffinity_np; # For pthread_getattr_np.
}
}
@@ -226,7 +229,7 @@ libpthread {
__pthread_cleanup_routine;
# affinity interfaces without size parameter
- pthread_getaffinity_np; pthread_setaffinity_np;
+ pthread_setaffinity_np;
pthread_attr_getaffinity_np;
}