mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Move pthread_setaffinity_np into libc
The symbol was moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -37,11 +37,15 @@ __pthread_setaffinity_new (pthread_t th, size_t cpusetsize,
|
||||
? INTERNAL_SYSCALL_ERRNO (res)
|
||||
: 0);
|
||||
}
|
||||
versioned_symbol (libpthread, __pthread_setaffinity_new,
|
||||
pthread_setaffinity_np, GLIBC_2_3_4);
|
||||
versioned_symbol (libc, __pthread_setaffinity_new,
|
||||
pthread_setaffinity_np, GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_4, GLIBC_2_34)
|
||||
compat_symbol (libpthread, __pthread_setaffinity_new,
|
||||
pthread_setaffinity_np, GLIBC_2_3_4);
|
||||
#endif
|
||||
|
||||
#if SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
int
|
||||
__pthread_setaffinity_old (pthread_t th, cpu_set_t *cpuset)
|
||||
{
|
||||
|
Reference in New Issue
Block a user