From patchwork Mon May 10 22:23:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 52241 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AF9ECB7D72 for ; Tue, 11 May 2010 08:27:17 +1000 (EST) Received: from localhost ([127.0.0.1]:57385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBbRQ-0000bW-VE for incoming@patchwork.ozlabs.org; Mon, 10 May 2010 18:27:12 -0400 Received: from [140.186.70.92] (port=55254 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBbO3-0007HL-DB for qemu-devel@nongnu.org; Mon, 10 May 2010 18:23:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBbNy-000116-2y for qemu-devel@nongnu.org; Mon, 10 May 2010 18:23:43 -0400 Received: from are.twiddle.net ([75.149.56.221]:54493) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBbNx-00010q-T1 for qemu-devel@nongnu.org; Mon, 10 May 2010 18:23:38 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id B9C30BD5; Mon, 10 May 2010 15:23:36 -0700 (PDT) Received: from anchor.twiddle.home (anchor.twiddle.home [127.0.0.1]) by anchor.twiddle.home (8.14.4/8.14.4) with ESMTP id o4AMNaBa027787; Mon, 10 May 2010 15:23:36 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o4AMNZxF027786; Mon, 10 May 2010 15:23:35 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 10 May 2010 15:23:31 -0700 Message-Id: <2a127b34c9f256730679ae57a7ca6ac23e375740.1273529974.git.rth@twiddle.net> X-Mailer: git-send-email 1.7.0.1 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: blauwirbel@gmail.com Subject: [Qemu-devel] [PATCH 1/3] target-sparc: Fix compilation with --enable-debug. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Return a target_ulong from compute_C_icc to match the width of the users. Signed-off-by: Richard Henderson --- target-sparc/helper.h | 2 +- target-sparc/op_helper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-sparc/helper.h b/target-sparc/helper.h index 6f103e7..04c1306 100644 --- a/target-sparc/helper.h +++ b/target-sparc/helper.h @@ -158,6 +158,6 @@ VIS_CMPHELPER(cmpne); #undef VIS_HELPER #undef VIS_CMPHELPER DEF_HELPER_0(compute_psr, void); -DEF_HELPER_0(compute_C_icc, i32); +DEF_HELPER_0(compute_C_icc, tl); #include "def-helper.h" diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index fcfd3f3..09449c5 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -1282,7 +1282,7 @@ void helper_compute_psr(void) CC_OP = CC_OP_FLAGS; } -uint32_t helper_compute_C_icc(void) +target_ulong helper_compute_C_icc(void) { uint32_t ret;