]> git.proxmox.com Git - qemu.git/commitdiff
linux-user: add s390x to llseek list
authorAlexander Graf <agraf@suse.de>
Fri, 15 Apr 2011 15:32:45 +0000 (17:32 +0200)
committerRiku Voipio <riku.voipio@iki.fi>
Tue, 26 Apr 2011 07:15:41 +0000 (10:15 +0300)
We keep a list of host architectures that do llseek with the same
syscall as lseek. S390x is one of them, so let's add it to the list.

Original-patch-by: Ulrich Hecht <uli@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
linux-user/syscall.c

index 5f9061d49897c90023f2e6fa1509004c3690f65d..e7af2ea1c0704d604eadef21545a31bfbb131a35 100644 (file)
@@ -197,7 +197,8 @@ static type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,   \
 #define __NR_sys_inotify_add_watch __NR_inotify_add_watch
 #define __NR_sys_inotify_rm_watch __NR_inotify_rm_watch
 
-#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__)
+#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__) || \
+    defined(__s390x__)
 #define __NR__llseek __NR_lseek
 #endif