From patchwork Tue Apr 17 16:36:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 153248 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0A0C2B7049 for ; Wed, 18 Apr 2012 02:36:38 +1000 (EST) Received: from localhost ([::1]:47248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKBOM-0007FZ-GE for incoming@patchwork.ozlabs.org; Tue, 17 Apr 2012 12:36:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKBOD-0007Ei-2t for qemu-devel@nongnu.org; Tue, 17 Apr 2012 12:36:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKBO1-0007q7-KY for qemu-devel@nongnu.org; Tue, 17 Apr 2012 12:36:24 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:52265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKBO1-0007pp-ER for qemu-devel@nongnu.org; Tue, 17 Apr 2012 12:36:13 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 63D5C728000B; Tue, 17 Apr 2012 18:36:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pge7efarIhYq; Tue, 17 Apr 2012 18:36:05 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id C6F6072800B3; Tue, 17 Apr 2012 18:36:05 +0200 (CEST) From: Stefan Weil To: qemu-devel@nongnu.org Date: Tue, 17 Apr 2012 18:36:05 +0200 Message-Id: <1334680565-17024-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 78.47.199.172 Cc: Blue Swirl , Stefan Weil Subject: [Qemu-devel] [PATCH] tci: Use uintptr_t for the GETPC() macro X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This completes commit 2050396801ca0c8359364d61eaadece951006057 and fixes builds with TCI. Signed-off-by: Stefan Weil --- exec-all.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exec-all.h b/exec-all.h index a963fd4..e766f9d 100644 --- a/exec-all.h +++ b/exec-all.h @@ -284,7 +284,7 @@ extern int tb_invalidated_flag; For all others, GETPC remains undefined (which makes TCI a little faster. */ # if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4) extern void *tci_tb_ptr; -# define GETPC() tci_tb_ptr +# define GETPC() (uintptr_t)tci_tb_ptr # endif #elif defined(__s390__) && !defined(__s390x__) # define GETPC() \