[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] linux-user: add s390x to llseek list
From: |
Riku Voipio |
Subject: |
[Qemu-devel] [PATCH 5/6] linux-user: add s390x to llseek list |
Date: |
Mon, 18 Apr 2011 20:29:02 +0300 |
From: Alexander Graf <address@hidden>
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>
Signed-off-by: Riku Voipio <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 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
--
1.7.1
- [Qemu-devel] [PATCH 0/6] linux-user: pending patches, Riku Voipio, 2011/04/18
- [Qemu-devel] [PATCH 2/6] linux-user: improve traces, Riku Voipio, 2011/04/18
- [Qemu-devel] [PATCH 1/6] [v2] linux-user: bigger default stack, Riku Voipio, 2011/04/18
- [Qemu-devel] [PATCH 3/6] linux-user: convert ioctl(SIOCGIFCONF, ...) result., Riku Voipio, 2011/04/18
- [Qemu-devel] [PATCH 4/6] linux-user: add ioctl(SIOCGIWNAME, ...) support., Riku Voipio, 2011/04/18
- [Qemu-devel] [PATCH 5/6] linux-user: add s390x to llseek list,
Riku Voipio <=
- [Qemu-devel] [PATCH 6/6] linux-user: untie syscalls from UID16, Riku Voipio, 2011/04/18