From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRV89-00054p-SH for qemu-devel@nongnu.org; Thu, 16 Jul 2009 13:52:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRV82-00050D-Dh for qemu-devel@nongnu.org; Thu, 16 Jul 2009 13:52:28 -0400 Received: from [199.232.76.173] (port=48915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRV82-0004zr-1C for qemu-devel@nongnu.org; Thu, 16 Jul 2009 13:52:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53724 helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRV81-0006iv-C0 for qemu-devel@nongnu.org; Thu, 16 Jul 2009 13:52:21 -0400 Received: from relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 29B8786EE4 for ; Thu, 16 Jul 2009 19:52:20 +0200 (CEST) From: Alexander Graf Date: Thu, 16 Jul 2009 19:52:15 +0200 Message-Id: <1247766736-17197-4-git-send-email-agraf@suse.de> In-Reply-To: <1247766736-17197-3-git-send-email-agraf@suse.de> References: <1247766736-17197-1-git-send-email-agraf@suse.de> <1247766736-17197-2-git-send-email-agraf@suse.de> <1247766736-17197-3-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 3/4] Add mp_state to PPC CPU struct List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Some generic code tries to access env->mp_state. Let's just make it happy and provide it. Signed-off-by: Alexander Graf --- target-ppc/cpu.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 59d47d2..5582a39 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -660,6 +660,10 @@ struct CPUPPCState { target_ulong hreset_vector; #endif +#ifdef CONFIG_KVM + uint32_t mp_state; +#endif + /* Those resources are used only during code translation */ /* Next instruction pointer */ target_ulong nip; -- 1.6.0.2