OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c74e62e
)
linux-user: define correct fcntl() values for sparc
author
Laurent Vivier
<laurent@vivier.eu>
Wed, 9 May 2018 23:11:18 +0000
(
01:11
+0200)
committer
Laurent Vivier
<laurent@vivier.eu>
Fri, 11 May 2018 17:04:58 +0000
(19:04 +0200)
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <
20180509231123
.20864-2-laurent@vivier.eu>
linux-user/syscall_defs.h
patch
|
blob
|
history
diff --git
a/linux-user/syscall_defs.h
b/linux-user/syscall_defs.h
index
361bb83
..
ec3f561
100644
(file)
--- a/
linux-user/syscall_defs.h
+++ b/
linux-user/syscall_defs.h
@@
-2441,6
+2441,15
@@
struct target_statfs64 {
#define TARGET_F_SETLKW 7
#define TARGET_F_GETOWN 11 /* for sockets. */
#define TARGET_F_SETOWN 12 /* for sockets. */
+#elif defined(TARGET_SPARC)
+#define TARGET_F_RDLCK 1
+#define TARGET_F_WRLCK 2
+#define TARGET_F_UNLCK 3
+#define TARGET_F_GETOWN 5 /* for sockets. */
+#define TARGET_F_SETOWN 6 /* for sockets. */
+#define TARGET_F_GETLK 7
+#define TARGET_F_SETLK 8
+#define TARGET_F_SETLKW 9
#else
#define TARGET_F_GETLK 5
#define TARGET_F_SETLK 6