aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-04-15 17:32:45 +0200
committerRiku Voipio <riku.voipio@iki.fi>2011-04-26 10:15:41 +0300
commit42a39fbe0cb6549e9cedfe63e706fdf951126626 (patch)
tree6266a3b3ccb083dd875fc67a93a0d34d9fc7d881 /linux-user
parent86fcd9463240c256f00963440fbd084196eeb964 (diff)
downloadqemu-42a39fbe0cb6549e9cedfe63e706fdf951126626.zip
qemu-42a39fbe0cb6549e9cedfe63e706fdf951126626.tar.gz
qemu-42a39fbe0cb6549e9cedfe63e706fdf951126626.tar.bz2
linux-user: add s390x to llseek list
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>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5f9061d..e7af2ea 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -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