diff mbox series

[6/7] linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK

Message ID 20171031125358.23377-7-richard.henderson@linaro.org
State New
Headers show
Series linux-user fixes, mostly for hppa | expand

Commit Message

Richard Henderson Oct. 31, 2017, 12:53 p.m. UTC
From: Helge Deller <deller@gmx.de>


Signed-off-by: Helge Deller <deller@gmx.de>

Signed-off-by: Richard Henderson <rth@twiddle.net>

Message-ID: <20170311175019.GA7195@ls3530.fritz.box>
---
 linux-user/syscall_defs.h | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.13.6
diff mbox series

Patch

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