]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
nptl: Replace lll_futex_supported_clockid with futex-internal.h
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 Nov 2020 13:16:33 +0000 (10:16 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 25 Nov 2020 13:43:18 +0000 (10:43 -0300)
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>
nptl/pthread_mutex_timedlock.c

index 343acf6107fdc330086e28b11b2e0aa667d887ab..b42862193a4acc1f673fecc0fae431de854c2b20 100644 (file)
@@ -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);