linux-user: declare sys_futex to have 6 arguments
commit43be1343667ae03cfb0c9ea4d56575c61b5c8d92
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Mon, 15 Jul 2013 13:17:40 +0000 (15 15:17 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 19 Jul 2013 08:52:03 +0000 (19 12:52 +0400)
tree2142b6b3dcdcbd4298033aaeed3b61f503edeab1
parent24943978cbe79634a9a8b02a20efb25b29b3ab49
linux-user: declare sys_futex to have 6 arguments

sys_futex has 6 arguments, and all of these need to be copied. Fix incorrect
declaration in the mips_syscall_args array.

This change fixes the cases where the 5th and 6th arguments have non-zero
value and have importance. An example is a Linux implementation of
pthread_cond_wait() function.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
linux-user/main.c