linux-user: Don't return uninitialized value for atomic_barrier syscall
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 12 Mar 2014 13:06:01 +0000 (13:06 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 17 Mar 2014 09:44:31 +0000 (11:44 +0200)
commit3b899ea7d405dc7634ac629aa7b0e7639d506d9f
tree5dca31d1b35a86f66050c62cde02b458f32feab7
parent7f72cd235fa33f2fc7a8d1cc4d621bf7db61e9eb
linux-user: Don't return uninitialized value for atomic_barrier syscall

QEMU's implementation of the m68k atomic_barrier syscall, like the kernel's,
is just a no-op. However we still need to return a result code from it.

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