From patchwork Sun Dec 19 16:22:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 76143 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 9E282B70A7 for ; Mon, 20 Dec 2010 03:25:25 +1100 (EST) Received: from localhost ([127.0.0.1]:38832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUM4Y-0003hl-Tk for incoming@patchwork.ozlabs.org; Sun, 19 Dec 2010 11:25:22 -0500 Received: from [140.186.70.92] (port=53040 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUM24-0002Xt-KK for qemu-devel@nongnu.org; Sun, 19 Dec 2010 11:22:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUM23-0002xq-O5 for qemu-devel@nongnu.org; Sun, 19 Dec 2010 11:22:48 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:43226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUM23-0002xY-Cp for qemu-devel@nongnu.org; Sun, 19 Dec 2010 11:22:47 -0500 Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 17D1C1830BF07; Sun, 19 Dec 2010 17:22:45 +0100 (CET) Received: from [84.148.63.75] (helo=af.local) by smtp05.web.de with asmtp (WEB.DE 4.110 #2) id 1PUM20-0005Ry-00; Sun, 19 Dec 2010 17:22:44 +0100 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Sun, 19 Dec 2010 17:22:41 +0100 Message-Id: <1292775761-6061-4-git-send-email-andreas.faerber@web.de> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1292775761-6061-3-git-send-email-andreas.faerber@web.de> References: <1292775761-6061-1-git-send-email-andreas.faerber@web.de> <1292775761-6061-2-git-send-email-andreas.faerber@web.de> <1292775761-6061-3-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 X-Sender: Andreas.Faerber@web.de X-Provags-ID: V01U2FsdGVkX1+7rluKCXbyiOxkpPbTi0mylUeN5hhGgsxI9lv6 BbJFJaP8p2cGC6qys5HzH/kofRTTNtK11Inf7JDaGuuHVM2nSq gypZ4Z5Zc53ZOor9Ibkg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: blauwirbel@gmail.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= , Huang Ying Subject: [Qemu-devel] [PATCH v4 3/3] target-i386: Fix accidental use of SoftFloat uint64 type 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 softfloat.h's uint64 type has least-width semantics. Use uint64_t instead since that is used in helpers. v4: * Summary change. v3: * Split off. Cc: Huang Ying Signed-off-by: Andreas Färber Acked-by: Juan Quintela --- target-i386/cpu.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 06e40f3..f0c07cd 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -737,10 +737,10 @@ typedef struct CPUX86State { user */ struct DeviceState *apic_state; - uint64 mcg_cap; - uint64 mcg_status; - uint64 mcg_ctl; - uint64 mce_banks[MCE_BANKS_DEF*4]; + uint64_t mcg_cap; + uint64_t mcg_status; + uint64_t mcg_ctl; + uint64_t mce_banks[MCE_BANKS_DEF*4]; uint64_t tsc_aux;