From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiBio-0004pQ-V3 for qemu-devel@nongnu.org; Thu, 18 Feb 2010 14:07:35 -0500 Received: from [199.232.76.173] (port=45406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiBio-0004pH-7T for qemu-devel@nongnu.org; Thu, 18 Feb 2010 14:07:34 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NiBim-0004zO-Vj for qemu-devel@nongnu.org; Thu, 18 Feb 2010 14:07:34 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:39956) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NiBim-0004zE-M8 for qemu-devel@nongnu.org; Thu, 18 Feb 2010 14:07:32 -0500 Received: by pwi4 with SMTP id 4so1459124pwi.4 for ; Thu, 18 Feb 2010 11:07:31 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1265844362-29836-3-git-send-email-pbonzini@redhat.com> References: <1265844362-29836-1-git-send-email-pbonzini@redhat.com> <1265844362-29836-3-git-send-email-pbonzini@redhat.com> From: Blue Swirl Date: Thu, 18 Feb 2010 21:07:11 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH 2/2] get rid of hostregs_helper.h Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Thu, Feb 11, 2010 at 1:26 AM, Paolo Bonzini wrote: > Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global > register that is used is AREG0, so the complexity of hostregs_helper.h > is unused. =C2=A0Use regular assignments and a compiler optimization barr= ier. In file included from /src/qemu/linux-user/syscall.c:58: /src/qemu/qemu-common.h:14:1: error: "BUILD_BUG_ON" redefined In file included from /usr/include/sys/sysinfo.h:25, from /src/qemu/linux-user/syscall.c:53: /usr/include/linux/kernel.h:28:1: error: this is the location of the previous definition Please add something like QEMU_ prefix.