From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH v2 3/3] linux-user: define correct UTS machine name for hppa
Date: Wed, 25 Jan 2017 22:56:37 +0100 [thread overview]
Message-ID: <20170125215637.2992-4-laurent@vivier.eu> (raw)
In-Reply-To: <20170125215637.2992-1-laurent@vivier.eu>
the correct UTS machine name (as expected by systemd) is "parisc",
not "hppa".
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
linux-user/uname.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/uname.c b/linux-user/uname.c
index 313b79d..daad002 100644
--- a/linux-user/uname.c
+++ b/linux-user/uname.c
@@ -63,6 +63,8 @@ const char *cpu_to_uname_machine(void *cpu_env)
return "i586";
}
return "i686";
+#elif defined(TARGET_HPPA)
+ return "parisc";
#else
/* default is #define-d in each arch/ subdir */
return UNAME_MACHINE;
--
2.9.3
next prev parent reply other threads:[~2017-01-25 21:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-25 21:56 [Qemu-devel] [PATCH v2 0/3] linux-user: some patches for hppa Laurent Vivier
2017-01-25 21:56 ` [Qemu-devel] [PATCH v2 1/3] linux-user: add hppa magic numbers in qemu-binfmt-conf.sh Laurent Vivier
2017-01-25 21:56 ` [Qemu-devel] [PATCH v2 2/3] linux-user: fix "apt-get update" on linux-user hppa Laurent Vivier
2017-01-25 21:56 ` Laurent Vivier [this message]
2017-01-25 22:49 ` [Qemu-devel] [PATCH v2 3/3] linux-user: define correct UTS machine name for hppa Peter Maydell
2017-01-25 22:05 ` [Qemu-devel] [PATCH v2 0/3] linux-user: some patches " no-reply
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=20170125215637.2992-4-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=glaubitz@physik.fu-berlin.de \
--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 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).