From patchwork Tue Apr 2 21:45:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 233177 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 ECD932C00A3 for ; Wed, 3 Apr 2013 09:18:41 +1100 (EST) Received: from localhost ([::1]:56020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN98E-0000sh-Fg for incoming@patchwork.ozlabs.org; Tue, 02 Apr 2013 17:52:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN969-0006e8-Qm for qemu-devel@nongnu.org; Tue, 02 Apr 2013 17:50:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN965-0008Mv-CK for qemu-devel@nongnu.org; Tue, 02 Apr 2013 17:50:33 -0400 Received: from mail-gh0-f173.google.com ([209.85.160.173]:38885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN965-0008Mq-8F; Tue, 02 Apr 2013 17:50:29 -0400 Received: by mail-gh0-f173.google.com with SMTP id g16so140338ghb.4 for ; Tue, 02 Apr 2013 14:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=fDBUHiuLqjT5Ywlj3tWny2bwygpUue74o/LeJS/Roe8=; b=eXN7EfVdmEugWCuwxQYSnJNnFjKHwRUlxVV77Sf77GrxSS2rLAtBxsAi0xyn+z35IR 1NK9JSm09XWb8a51Rlc2r8Cwisl2JJVAHSsTkQsIzJWHxSUe0F/1px51TUbGMWL+2eyg iequkRaOa0+5Zknru9AfNHYBWwxWF6quHp8JfV79ytRO6pLYFaQgAczkb+m8TuEQj9oY vaxOTGZ/ZY0EDnnLuBAAMNgItrF9V718CrYBdMXTUSnYEj04Y+80cZl91IDkgdXD8ryt pxaPkw9d97/SHhUs7AOQBlhkYnBptHuS5Ks5/WxwQaPzw9WCgxF0Jk7sNnRMeINiVC30 6fxg== X-Received: by 10.236.127.39 with SMTP id c27mr16907345yhi.134.1364939428683; Tue, 02 Apr 2013 14:50:28 -0700 (PDT) Received: from localhost ([32.97.110.51]) by mx.google.com with ESMTPS id u80sm5807531yhj.5.2013.04.02.14.50.23 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 14:50:25 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Tue, 2 Apr 2013 16:45:06 -0500 Message-Id: <1364939142-30066-2-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364939142-30066-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1364939142-30066-1-git-send-email-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.173 Cc: qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH 01/37] 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 From: Andreas Färber 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". Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf (cherry picked from commit bfe6d5b0daf9fdafeb0dbb7c26774dbb1bbb4507) Signed-off-by: Michael Roth --- target-ppc/translate_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 6cebaa1..63e6fdc 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),