[PATCH 1/2] nptl: Provide proper spelling for 32 bit version of futex_abstimed_wait
Lukasz Majewski
lukma@denx.de
Tue Sep 29 16:52:36 GMT 2020
Hi Adhemerval,
> On Wed, Sep 16, 2020 at 4:07 AM Lukasz Majewski <lukma@denx.de> wrote:
> >
> > This change provides proper spelling of 32 bit
> > __futex_abstimed_wait_cancelable32 function
Adhemerval, do you have any comments regarding this patch? Or shall I
pull it to -master?
>
> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
>
> Alistair
>
> > ---
> > sysdeps/nptl/futex-internal.c | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/sysdeps/nptl/futex-internal.c
> > b/sysdeps/nptl/futex-internal.c index a2ee5804ec..a4fc1dc52f 100644
> > --- a/sysdeps/nptl/futex-internal.c
> > +++ b/sysdeps/nptl/futex-internal.c
> > @@ -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)
> > {
> > if (! in_time_t_range (abstime->tv_sec))
> > return -EOVERFLOW;
> > @@ -91,8 +91,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)
> > --
> > 2.20.1
> >
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20200929/e6767747/attachment-0001.sig>
More information about the Libc-alpha
mailing list