All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>, Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH 1/5] linux-user: define correct fcntl() values for sparc
Date: Tue,  8 May 2018 21:40:22 +0200	[thread overview]
Message-ID: <20180508194026.1281-2-laurent@vivier.eu> (raw)
In-Reply-To: <20180508194026.1281-1-laurent@vivier.eu>

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/syscall_defs.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 361bb83a29..ec3f561685 100644
--- 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
-- 
2.14.3

  reply	other threads:[~2018-05-08 19:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-08 19:40 [Qemu-devel] [PATCH 0/5] linux-user: fix sparc32plus Laurent Vivier
2018-05-08 19:40 ` Laurent Vivier [this message]
2018-05-08 20:01   ` [Qemu-devel] [PATCH 1/5] linux-user: define correct fcntl() values for sparc Max Filippov
2018-05-08 19:40 ` [Qemu-devel] [PATCH 2/5] linux-user: fix flock/flock64 padding Laurent Vivier
2018-05-08 20:08   ` Max Filippov
2018-05-08 19:40 ` [Qemu-devel] [PATCH 3/5] linux-user: update sparc/syscall_nr.h to linux header 4.16 Laurent Vivier
2018-05-08 19:40 ` [Qemu-devel] [PATCH 4/5] linux-user: fix convertion of flock/flock64 l_type field Laurent Vivier
2018-05-08 19:40 ` [Qemu-devel] [PATCH 5/5] linux-user: add sparc/sparc64 specific errno Laurent Vivier
2018-05-08 20:22   ` Max Filippov
2018-05-08 20:26     ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180508194026.1281-2-laurent@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.