diff options
author | Phil Staub <Phil.Staub@windriver.com> | 2013-01-31 08:35:25 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:54:00 +0000 |
commit | 9a9586c23033c5c15409776155412a1ad4efaaca (patch) | |
tree | d640daf1134bc104c2cc485c53f2156d208776ed /meta/recipes-connectivity | |
parent | 12e76e123f66c36910f1fadece620024b2264a26 (diff) | |
download | poky-9a9586c23033c5c15409776155412a1ad4efaaca.tar.gz |
libaio: Fix MIPS system call interface
The io_syscallX wrappers in syscall-mips.h discard error return status
by overwriting the value returned in v0 from the system call with -1.
Modify this behavior by returning the negative of the return value on
error (as identified by a3 != 0). This convention is consistent with
the behavior observed in syscall-ppc.h.
For a description of the MIPS system call interface, see:
http://www.linux-mips.org/wiki/Syscall
(From OE-Core rev: 0d8f50c33e5ff71dc17121b5c293718a8ad602bd)
Signed-off-by: Phil Staub <Phil.Staub@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions