From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an5bg-0005Ti-KP for qemu-devel@nongnu.org; Mon, 04 Apr 2016 10:35:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1an5bd-0004Bi-SH for qemu-devel@nongnu.org; Mon, 04 Apr 2016 10:35:56 -0400 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1an5bd-0004BY-KD for qemu-devel@nongnu.org; Mon, 04 Apr 2016 10:35:53 -0400 Received: by mail-lf0-x236.google.com with SMTP id c62so173648326lfc.1 for ; Mon, 04 Apr 2016 07:35:53 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Mon, 4 Apr 2016 15:35:47 +0100 Message-Id: <1459780549-12942-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 0/2] Fix for compile on FreeBSD/i386 (and others?) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , pbonzini@redhat.com, sbruno@freebsd.org, qemu-devel@nongnu.org Only the first patch has actually changed. Instead of moving the read inside the write seqlock it is now done using the seqlock_read_* primitives. Build tested on a FreeBSB/i386 VM with these applied: https://github.com/berrange/qemu/tree/freebsd-fixes There are still a ton of unrelated warnings being kicked out of the compiler though. On the VM "make check" fails at ... but as the build was broken beforehand I can't tell if this is a regression. It passes fine on my Linux box. Alex Bennée (2): cpus: don't use atomic_read for vm_clock_warp_start include/qemu/atomic: add compile time asserts cpus.c | 10 ++++++++- include/qemu/atomic.h | 58 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 43 insertions(+), 25 deletions(-) -- 2.7.4