qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] linux-user,alpha: correct select()
@ 2013-01-07 22:38 Laurent Vivier
  2013-01-07 23:14 ` Richard Henderson
  2013-01-10 21:30 ` [Qemu-devel] [PATCH][v2] " Laurent Vivier
  0 siblings, 2 replies; 5+ messages in thread
From: Laurent Vivier @ 2013-01-07 22:38 UTC (permalink / raw)
  To: qemu-devel; +Cc: Riku Voipio, Laurent Vivier, dillona, Richard Henderson

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/syscall.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 2232bb8..76bafff 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6249,7 +6249,9 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
             ret = get_errno(settimeofday(&tv, NULL));
         }
         break;
-#if defined(TARGET_NR_select) && !defined(TARGET_S390X) && !defined(TARGET_S390)
+#if defined(TARGET_NR_select) && !defined(TARGET_S390X) && \
+                                 !defined(TARGET_S390) && \
+                                 !defined(TARGET_ALPHA)
     case TARGET_NR_select:
         {
             struct target_sel_arg_struct *sel;
@@ -7189,8 +7191,9 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
         }
         break;
 #endif /* TARGET_NR_getdents64 */
-#if defined(TARGET_NR__newselect) || defined(TARGET_S390X)
-#ifdef TARGET_S390X
+#if defined(TARGET_NR__newselect) || defined(TARGET_S390X) \
+                                  || defined(TARGET_ALPHA)
+#if defined(TARGET_S390X) || defined(TARGET_ALPHA)
     case TARGET_NR_select:
 #else
     case TARGET_NR__newselect:
-- 
1.7.10.4

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

end of thread, other threads:[~2013-01-10 21:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 22:38 [Qemu-devel] [PATCH] linux-user,alpha: correct select() Laurent Vivier
2013-01-07 23:14 ` Richard Henderson
2013-01-08  9:28   ` Laurent Vivier
2013-01-10 21:30 ` [Qemu-devel] [PATCH][v2] " Laurent Vivier
2013-01-10 21:47   ` Richard Henderson

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).