]> git.proxmox.com Git - qemu.git/commit - linux-user/main.c
linux-user: Bump do_syscall() up to 8 syscall arguments
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Jun 2011 16:37:13 +0000 (17:37 +0100)
committerRiku Voipio <riku.voipio@iki.fi>
Tue, 21 Jun 2011 17:30:10 +0000 (20:30 +0300)
commit5945cfcb4b862a57fbbbf794f5e4b0fa4499624a
tree9f50f18d5d3510f15d2065b414d3ecc432a6ee95
parent3002fa8472b1b9293cac785ca032df727540f85d
linux-user: Bump do_syscall() up to 8 syscall arguments

On 32 bit MIPS a few syscalls have 7 arguments, and so to call
them via NR_syscall the guest needs to be able to pass 8 arguments
to do_syscall(). Raise the number of arguments do_syscall() takes
accordingly.

This fixes some gcc 4.6 compiler warnings about arg7 and arg8
variables being set and never used.

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