x86*: Return syscall error for lll_futex_wake.
commitbe11d713940133fd4200fb96db8200092b05325e
authorCarlos O'Donell <carlos@redhat.com>
Mon, 10 Jun 2013 16:05:11 +0000 (10 12:05 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Mon, 10 Jun 2013 16:05:11 +0000 (10 12:05 -0400)
treeccb973c4111f038228f655b9339893be054309ed
parent0efa6f8b9906cddf2da36722449c8e30fb698b37
x86*: Return syscall error for lll_futex_wake.

It is very very possible that the futex syscall returns an
error and that the caller of lll_futex_wake may want to
look at that error and propagate the failure.

This patch allows a caller to see the syscall error.

There are no users of the syscall error at present, but
future cleanups are now be able to check for the error.

--

nplt/

2013-06-10  Carlos O'Donell  <carlos@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h
(lll_futex_wake): Return syscall error.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
(lll_futex_wake): Return syscall error.
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h
nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h