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:41:19 +0000 |
commit | 0d8f50c33e5ff71dc17121b5c293718a8ad602bd (patch) | |
tree | 3fd49e9be5f267a55c0ff9eb09b1933a43761152 /scripts/runqemu-gen-tapdevs | |
parent | dc7d181ab03ceab87a24d932130109003334dbf8 (diff) | |
download | openembedded-core-0d8f50c33e5ff71dc17121b5c293718a8ad602bd.tar.gz openembedded-core-0d8f50c33e5ff71dc17121b5c293718a8ad602bd.tar.bz2 openembedded-core-0d8f50c33e5ff71dc17121b5c293718a8ad602bd.zip |
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
Signed-off-by: Phil Staub <Phil.Staub@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
0 files changed, 0 insertions, 0 deletions