From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPIJF-0004xr-SC for qemu-devel@nongnu.org; Fri, 19 Oct 2012 15:32:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPIJE-0002H4-DE for qemu-devel@nongnu.org; Fri, 19 Oct 2012 15:32:41 -0400 Received: from hall.aurel32.net ([88.191.126.93]:41307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPIJE-0002Gw-7D for qemu-devel@nongnu.org; Fri, 19 Oct 2012 15:32:40 -0400 Date: Fri, 19 Oct 2012 21:32:37 +0200 From: Aurelien Jarno Message-ID: <20121019193237.GE22247@ohm.aurel32.net> References: <1349729149-6481-1-git-send-email-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1349729149-6481-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH] tci: fix build breakage for target-sparc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org, rth@twiddle.net On Mon, Oct 08, 2012 at 03:45:49PM -0500, Michael Roth wrote: > commit c28ae41 introduced GETPC() usage for sparc, which is currently > not defined when building with --enable-tcg-interpreter. Add sparc to > the list of targets we selectively define GETPC() for. > > Signed-off-by: Michael Roth > --- > exec-all.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/exec-all.h b/exec-all.h > index 6516da0..f7f649e 100644 > --- a/exec-all.h > +++ b/exec-all.h > @@ -296,7 +296,8 @@ extern int tb_invalidated_flag; > #if defined(CONFIG_TCG_INTERPRETER) > /* Alpha and SH4 user mode emulations and Softmmu call GETPC(). > For all others, GETPC remains undefined (which makes TCI a little faster. */ > -# if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4) > +# if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4) \ > + || defined(TARGET_SPARC) > extern uintptr_t tci_tb_ptr; > # define GETPC() tci_tb_ptr > # endif > -- > 1.7.9.5 > Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net