From patchwork Wed May 12 18:04:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 52401 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 DD2A4B7DF5 for ; Thu, 13 May 2010 04:17:38 +1000 (EST) Received: from localhost ([127.0.0.1]:48847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCGUx-0004nF-GA for incoming@patchwork.ozlabs.org; Wed, 12 May 2010 14:17:35 -0400 Received: from [140.186.70.92] (port=44640 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCGLb-00019N-O5 for qemu-devel@nongnu.org; Wed, 12 May 2010 14:07:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCGII-0001fg-EW for qemu-devel@nongnu.org; Wed, 12 May 2010 14:04:31 -0400 Received: from are.twiddle.net ([75.149.56.221]:53195) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCGII-0001fO-2G for qemu-devel@nongnu.org; Wed, 12 May 2010 14:04:30 -0400 Received: from anchor.twiddle.home (anchor.twiddle.home [172.31.0.4]) by are.twiddle.net (Postfix) with ESMTPS id F2071BD5; Wed, 12 May 2010 11:04:28 -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 o4CI4Sgm023393; Wed, 12 May 2010 11:04:28 -0700 Received: (from rth@localhost) by anchor.twiddle.home (8.14.4/8.14.4/Submit) id o4CI4SfF023392; Wed, 12 May 2010 11:04:28 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 12 May 2010 11:04:25 -0700 Message-Id: <432bb92f7dc1568e2a1470cc8cf81cbfc98e2fcd.1273687255.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, atar4qemu@googlemail.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;