mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-13 20:50:08 +00:00
nptl: Provide proper spelling for 32 bit version of futex_abstimed_wait
This change provides proper spelling of 32 bit __futex_abstimed_wait_cancelable32 function Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
cef95fdc2e
commit
3f9705f1fc
@ -24,10 +24,10 @@
|
||||
|
||||
#ifndef __ASSUME_TIME64_SYSCALLS
|
||||
static int
|
||||
__futex_abstimed_wait_cancellable32 (unsigned int* futex_word,
|
||||
unsigned int expected, clockid_t clockid,
|
||||
const struct __timespec64* abstime,
|
||||
int private)
|
||||
__futex_abstimed_wait_cancelable32 (unsigned int* futex_word,
|
||||
unsigned int expected, clockid_t clockid,
|
||||
const struct __timespec64* abstime,
|
||||
int private)
|
||||
{
|
||||
struct timespec ts32, *pts32 = NULL;
|
||||
if (abstime != NULL)
|
||||
@ -74,8 +74,8 @@ __futex_abstimed_wait_cancelable64 (unsigned int* futex_word,
|
||||
FUTEX_BITSET_MATCH_ANY);
|
||||
#ifndef __ASSUME_TIME64_SYSCALLS
|
||||
if (err == -ENOSYS)
|
||||
err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
|
||||
clockid, abstime, private);
|
||||
err = __futex_abstimed_wait_cancelable32 (futex_word, expected,
|
||||
clockid, abstime, private);
|
||||
#endif
|
||||
|
||||
switch (err)
|
||||
|
Loading…
Reference in New Issue
Block a user