mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
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:
parent
878fe624d4
commit
2a45be88ed
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user