qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user: fix signal() syscall on x86_64
@ 2016-07-01 11:59 Wirth, Allan
  2016-07-01 13:35 ` Peter Maydell
  0 siblings, 1 reply; 16+ messages in thread
From: Wirth, Allan @ 2016-07-01 11:59 UTC (permalink / raw)
  To: qemu-devel@nongnu.org, Riku Voipio; +Cc: qemu-trivial@nongnu.org

Linux on X86_64 does not use sel_arg_struct for select(), the args are
passed directly. This patch switches a define so X86_64 uses the correct
calling convention.

Signed-off-by: Allan Wirth <awirth@akamai.com>
---
 linux-user/syscall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 8bf6205..209b2a7 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8002,7 +8002,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         break;
 #if defined(TARGET_NR_select)
     case TARGET_NR_select:
-#if defined(TARGET_S390X) || defined(TARGET_ALPHA)
+#if defined(TARGET_S390X) || defined(TARGET_ALPHA) || defined(TARGET_X86_64)
         ret = do_select(arg1, arg2, arg3, arg4, arg5);
 #else
         {
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-07-07 19:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 11:59 [Qemu-devel] [PATCH] linux-user: fix signal() syscall on x86_64 Wirth, Allan
2016-07-01 13:35 ` Peter Maydell
2016-07-01 15:34   ` Wirth, Allan
2016-07-01 16:06     ` Peter Maydell
2016-07-02  8:20   ` Laurent Vivier
2016-07-02  9:56     ` Peter Maydell
2016-07-02 16:41       ` Laurent Vivier
2016-07-02 20:12         ` Peter Maydell
2016-07-02 21:17           ` Laurent Vivier
2016-07-02 21:20             ` Peter Maydell
2016-07-02 21:28               ` Laurent Vivier
2016-07-07 18:49           ` Riku Voipio
2016-07-07 19:02             ` Laurent Vivier
2016-07-07 19:04               ` Wirth, Allan
2016-07-07 19:09                 ` Laurent Vivier
2016-07-07 19:13                   ` Wirth, Allan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).