From: Adhemerval Zanella Date: Mon, 23 Nov 2020 13:16:33 +0000 (-0300) Subject: nptl: Replace lll_futex_supported_clockid with futex-internal.h X-Git-Tag: glibc-2.33~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a45be88ed4753a9756d840b3182a87f2ae1200b;p=thirdparty%2Fglibc.git nptl: Replace lll_futex_supported_clockid with futex-internal.h The idea is to make NPTL implementation to use on the functions provided by futex-internal.h. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Lukasz Majewski --- diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index 343acf6107f..b42862193a4 100644 --- a/nptl/pthread_mutex_timedlock.c +++ b/nptl/pthread_mutex_timedlock.c @@ -600,7 +600,7 @@ __pthread_mutex_clocklock64 (pthread_mutex_t *mutex, clockid_t clockid, const struct __timespec64 *abstime) { - if (__glibc_unlikely (!lll_futex_supported_clockid (clockid))) + if (__glibc_unlikely (!futex_abstimed_supported_clockid (clockid))) return EINVAL; LIBC_PROBE (mutex_clocklock_entry, 3, mutex, clockid, abstime);