From: "Carlo Marcelo Arenas Belón" <carenas@gmail.com>
To: qemu-devel@nongnu.org
Cc: rth@twiddle.net, laurent@vivier.eu, riku.voipio@iki.fi,
"Carlo Marcelo Arenas Belón" <carenas@gmail.com>
Subject: [Qemu-devel] [RFC 5/6] linux-user: fix 64bit versions of sparc and mips
Date: Fri, 22 Sep 2017 07:02:36 -0700 [thread overview]
Message-ID: <20170922140237.10869-6-carenas@gmail.com> (raw)
In-Reply-To: <20170922140237.10869-1-carenas@gmail.com>
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
linux-user/mips64/sockbits.h | 1 +
linux-user/socket.h | 4 ++--
linux-user/sparc64/sockbits.h | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 linux-user/mips64/sockbits.h
create mode 100644 linux-user/sparc64/sockbits.h
diff --git a/linux-user/mips64/sockbits.h b/linux-user/mips64/sockbits.h
new file mode 100644
index 0000000000..e6b6d31ac9
--- /dev/null
+++ b/linux-user/mips64/sockbits.h
@@ -0,0 +1 @@
+#include "../mips/sockbits.h"
diff --git a/linux-user/socket.h b/linux-user/socket.h
index dfa692286b..6fd486c6b1 100644
--- a/linux-user/socket.h
+++ b/linux-user/socket.h
@@ -1,10 +1,10 @@
-#if defined(TARGET_MIPS)
+#if defined(TARGET_MIPS) || defined(TARGET_MIPS64)
#include "mips/sockbits.h"
#elif defined(TARGET_ALPHA)
#include "alpha/sockbits.h"
#elif defined(TARGET_HPPA)
#include "hppa/sockbits.h"
-#elif defined(TARGET_SPARC)
+#elif defined(TARGET_SPARC) || defined(TARGET_SPARC64)
#include "sparc/sockbits.h"
#else
diff --git a/linux-user/sparc64/sockbits.h b/linux-user/sparc64/sockbits.h
new file mode 100644
index 0000000000..658899e4d3
--- /dev/null
+++ b/linux-user/sparc64/sockbits.h
@@ -0,0 +1 @@
+#include "../sparc/sockbits.h"
--
2.14.1
next prev parent reply other threads:[~2017-09-22 14:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 14:02 [Qemu-devel] [RFC 0/6] linux-user: refactor socket.h into architecture specific sockbits Carlo Marcelo Arenas Belón
2017-09-22 14:02 ` [Qemu-devel] [RFC 1/6] linux-user: update hppa sockbits Carlo Marcelo Arenas Belón
2017-09-22 16:13 ` Laurent Vivier
2017-09-25 12:40 ` Carlo Arenas
2017-09-22 14:02 ` [Qemu-devel] [RFC 2/6] linux-user: refactor socket.h for alpha Carlo Marcelo Arenas Belón
2017-09-22 16:30 ` Laurent Vivier
2017-09-22 14:02 ` [Qemu-devel] [RFC 3/6] linux-user: refactor socket.h for mips Carlo Marcelo Arenas Belón
2017-09-22 16:41 ` Laurent Vivier
2017-09-22 14:02 ` [Qemu-devel] [RFC 4/6] linux-user: refactor socket.h for sparc Carlo Marcelo Arenas Belón
2017-09-22 16:51 ` Laurent Vivier
2017-09-22 14:02 ` Carlo Marcelo Arenas Belón [this message]
2017-09-22 17:01 ` [Qemu-devel] [RFC 5/6] linux-user: fix 64bit versions of sparc and mips Laurent Vivier
2017-09-25 11:44 ` Carlo Arenas
2017-09-22 14:02 ` [Qemu-devel] [RFC 6/6] linux-user: update default socket.h Carlo Marcelo Arenas Belón
2017-09-22 17:04 ` Laurent Vivier
2017-09-25 11:55 ` Carlo Arenas
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=20170922140237.10869-6-carenas@gmail.com \
--to=carenas@gmail.com \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).