From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, sbruno@freebsd.org,
"Alex Bennée" <alex.bennee@linaro.org>,
peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH v1 0/2] Fix for FreeBSD compile on i386
Date: Mon, 21 Mar 2016 16:23:04 +0000 [thread overview]
Message-ID: <1458577386-9984-1-git-send-email-alex.bennee@linaro.org> (raw)
The compiler of FreeBSD/i386 complains when trying to make a 64 bit
atomic load on a 32 bit host. This fixes the compile failure and adds
some compile time guards to the atomic functions.
If wanted I can expand the compile time guards to include the
__sync_and_fetch* intrinsics version as well.
Alex Bennée (2):
cpus: don't use atomic_read for vm_clock_warp_start
include/qemu/atomic: add compile time asserts
cpus.c | 12 ++++-------
include/qemu/atomic.h | 58 ++++++++++++++++++++++++++++++---------------------
2 files changed, 38 insertions(+), 32 deletions(-)
--
2.7.3
next reply other threads:[~2016-03-21 16:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-21 16:23 Alex Bennée [this message]
2016-03-21 16:23 ` [Qemu-devel] [PATCH v1 1/2] cpus: don't use atomic_read for vm_clock_warp_start Alex Bennée
2016-03-21 16:26 ` Paolo Bonzini
2016-03-21 17:45 ` Alex Bennée
2016-03-21 16:23 ` [Qemu-devel] [PATCH v1 2/2] include/qemu/atomic: add compile time asserts Alex Bennée
2016-04-01 15:03 ` Alex Bennée
2016-04-04 8:33 ` Paolo Bonzini
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=1458577386-9984-1-git-send-email-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sbruno@freebsd.org \
/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).