Message ID | 20201123195256.3336217-10-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show |
Series | [01/13] linux: Remove unused internal futex functions | expand |
On Mon, 23 Nov 2020 16:52:53 -0300 Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> wrote: > 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. > --- > nptl/pthread_mutex_timedlock.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/nptl/pthread_mutex_timedlock.c > b/nptl/pthread_mutex_timedlock.c index 343acf6107..b42862193a 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); Reviewed-by: Lukasz Majewski <lukma@denx.de> Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
diff --git a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c index 343acf6107..b42862193a 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);