From patchwork Mon Feb 11 20:54:09 2013 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: 219683 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 59C712C02F3 for ; Tue, 12 Feb 2013 07:54:30 +1100 (EST) Received: from localhost ([::1]:55371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U50OS-0004lu-Ij for incoming@patchwork.ozlabs.org; Mon, 11 Feb 2013 15:54:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U50OK-0004jM-IN for qemu-devel@nongnu.org; Mon, 11 Feb 2013 15:54:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U50OJ-0006Kv-As for qemu-devel@nongnu.org; Mon, 11 Feb 2013 15:54:20 -0500 Received: from cantor2.suse.de ([195.135.220.15]:49820 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U50OJ-0006Kr-4V; Mon, 11 Feb 2013 15:54:19 -0500 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 8DDFEA3CEE; Mon, 11 Feb 2013 21:54:18 +0100 (CET) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Mon, 11 Feb 2013 21:54:09 +0100 Message-Id: <1360616049-9622-1-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 195.135.220.15 Cc: Alexander Graf , qemu-ppc@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH for-1.4] target-ppc: Fix "G2leGP3" PVR 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 Unlike derived PVR constants mapped to CPU_POWERPC_G2LEgp3, the "G2leGP3" model definition itself used the CPU_POWERPC_G2LEgp1 PVR. Fixing this will allow to alias CPU_POWERPC_G2LEgp3-using types to "G2leGP3". Cc: qemu-stable@nongnu.org Signed-off-by: Andreas Färber --- target-ppc/translate_init.c | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 4a1e5a6..a05bb7b 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -8243,7 +8243,7 @@ static const ppc_def_t ppc_defs[] = { /* PowerPC G2LE GP1 core */ POWERPC_DEF("G2leGP1", CPU_POWERPC_G2LEgp1, G2LE), /* PowerPC G2LE GP3 core */ - POWERPC_DEF("G2leGP3", CPU_POWERPC_G2LEgp1, G2LE), + POWERPC_DEF("G2leGP3", CPU_POWERPC_G2LEgp3, G2LE), /* PowerPC MPC603 microcontrollers */ /* MPC8240 */ POWERPC_DEF("MPC8240", CPU_POWERPC_MPC8240, 603E),