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 <lukma@denx.de>
This commit is contained in:
Adhemerval Zanella 2020-11-23 10:16:33 -03:00
parent 878fe624d4
commit 2a45be88ed

View File

@ -600,7 +600,7 @@ __pthread_mutex_clocklock64 (pthread_mutex_t *mutex,
clockid_t clockid, clockid_t clockid,
const struct __timespec64 *abstime) const struct __timespec64 *abstime)
{ {
if (__glibc_unlikely (!lll_futex_supported_clockid (clockid))) if (__glibc_unlikely (!futex_abstimed_supported_clockid (clockid)))
return EINVAL; return EINVAL;
LIBC_PROBE (mutex_clocklock_entry, 3, mutex, clockid, abstime); LIBC_PROBE (mutex_clocklock_entry, 3, mutex, clockid, abstime);