diff mbox series

[PULL,06/15] linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK

Message ID 3d60c84deaa11826ff0bc7599aeb73cad54c4fbf.1511212753.git.riku.voipio@linaro.org
State Accepted
Commit 3d60c84deaa11826ff0bc7599aeb73cad54c4fbf
Headers show
Series late linux-user fixes for 2.11 | expand

Commit Message

Riku Voipio Nov. 20, 2017, 9:21 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>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>

---
 linux-user/syscall_defs.h | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.14.2
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