[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 04/17] linux-user: add s390x to llseek list
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 04/17] linux-user: add s390x to llseek list |
Date: |
Fri, 15 Apr 2011 17:32:45 +0200 |
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 <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
linux-user/syscall.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 99f5935..8e095ea 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -196,7 +196,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
--
1.6.0.2
- [Qemu-devel] [PATCH 00/17] s390x emulation support v4, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 16/17] s390x: remove compatibility cc field, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 04/17] linux-user: add s390x to llseek list,
Alexander Graf <=
- [Qemu-devel] [PATCH 09/17] s390x: virtio machine storage keys, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 03/17] linux-user: define a couple of syscalls for non-uid16 targets, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 05/17] kvm: add kvm stub for arch specific stuff, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 08/17] s390x: Dispatch interrupts to KVM or the real CPU, Alexander Graf, 2011/04/15
- [Qemu-devel] [PATCH 13/17] s390x: Adjust internal kvm code, Alexander Graf, 2011/04/15