summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller2017-10-31 13:53:57 +0100
committerRiku Voipio2017-11-07 20:58:13 +0100
commit3d60c84deaa11826ff0bc7599aeb73cad54c4fbf (patch)
treef6fecd4e73edf57860f2d3236429110eea5fd75d
parentlinux-user/hppa: Fix TARGET_MAP_TYPE (diff)
downloadqemu-3d60c84deaa11826ff0bc7599aeb73cad54c4fbf.tar.gz
qemu-3d60c84deaa11826ff0bc7599aeb73cad54c4fbf.tar.xz
qemu-3d60c84deaa11826ff0bc7599aeb73cad54c4fbf.zip
linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <rth@twiddle.net> Message-ID: <20170311175019.GA7195@ls3530.fritz.box> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-rw-r--r--linux-user/syscall_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index a6ed30d70e..daa2a57398 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -2361,6 +2361,9 @@ struct target_statfs64 {
#define TARGET_F_SETOWN 24 /* for sockets. */
#define TARGET_F_GETOWN 23 /* for sockets. */
#elif defined(TARGET_HPPA)
+#define TARGET_F_RDLCK 1
+#define TARGET_F_WRLCK 2
+#define TARGET_F_UNLCK 3
#define TARGET_F_GETLK 5
#define TARGET_F_SETLK 6
#define TARGET_F_SETLKW 7