Received: from eggs.gnu.org ([208.118.235.92]:44853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKZDt-0001dM-0F for qemu-devel@nongnu.org; Sat, 06 Oct 2012 14:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKZDr-0006ni-Fy for qemu-devel@nongnu.org; Sat, 06 Oct 2012 14:35:36 -0400 Received: from hall.aurel32.net ([88.191.126.93]:44238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKZDr-0006m2-9v for qemu-devel@nongnu.org; Sat, 06 Oct 2012 14:35:35 -0400 Date: Sat, 6 Oct 2012 20:35:25 +0200 From: Aurelien Jarno Message-ID: <20121006183525.GA31647@ohm.aurel32.net> References: <1349520375-9853-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1349520375-9853-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [PATCH] qemu-barrier: Fix compilation on i386 hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , qemu-devel@nongnu.org On Sat, Oct 06, 2012 at 12:46:15PM +0200, Stefan Weil wrote: > Commit 610b823ef66b993660f1ab1447a769f190e4f3b3 uses QEMU_GNUC_PREREQ > on i386 hosts. > > That macro is defined in qemu-common.h which is not always included > before qemu-barrier.h, so compilation on i386 hosts was broken. > > Signed-off-by: Stefan Weil > --- > > This patch fixes broken compilation for i386 hosts which > was reported by the buildbot: > > http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/396 > > Regards > > Stefan Weil > > qemu-barrier.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/qemu-barrier.h b/qemu-barrier.h > index 16f0942..1de914e 100644 > --- a/qemu-barrier.h > +++ b/qemu-barrier.h > @@ -6,6 +6,8 @@ > > #if defined(__i386__) > > +#include "qemu-common.h" /* QEMU_GNUC_PREREQ */ > + > /* > * Because of the strongly ordered x86 storage model, wmb() and rmb() are nops > * on x86(well, a compiler barrier only). Well, at least as long as > -- > 1.7.10 > Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net