linux-user: Fix pipe syscall return for SPARC
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 6 Jul 2013 16:39:48 +0000 (17:39 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 23 Jul 2013 14:28:28 +0000 (17:28 +0300)
commit82f05b69e6b701157b4a2e7d76ae6cf5542d66c9
tree3ed5cc4c5d349608f3aaa7ff3bc32a0675962726
parentc7819dfbd22be6a3711f11056f33300e881563d5
linux-user: Fix pipe syscall return for SPARC

SPARC is one of the CPUs which has a funny syscall ABI for the
pipe syscall; add it to the set of special cases in do_pipe().

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c