From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSBQy-0005lW-Ik for qemu-devel@nongnu.org; Wed, 09 May 2012 14:16:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSBQs-0003zW-BC for qemu-devel@nongnu.org; Wed, 09 May 2012 14:16:20 -0400 From: Michael Walle Date: Wed, 9 May 2012 20:16:10 +0200 References: <1336318514-30906-1-git-send-email-afaerber@suse.de> <1336318514-30906-75-git-send-email-afaerber@suse.de> In-Reply-To: <1336318514-30906-75-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201205092016.10955.michael@walle.cc> Subject: Re: [Qemu-devel] [PATCH for-next 74/74] Kill off cpu_state_reset() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?utf-8?q?F=C3=A4rber?= Cc: "Peter Maydell (maintainer:ARM)" , qemu-devel@nongnu.org, "Alexander Graf (maintainer:PowerPC)" , "Blue Swirl (maintainer:SPARC)" , "Max Filippov (maintainer:Xtensa)" , "open list:PowerPC" , "Paul Brook (maintainer:ARM)" , Anthony Liguori , "Edgar E. Iglesias (maintainer:CRIS)" , Paolo Bonzini , "Aurelien Jarno (odd fixer:MIPS)" > In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset() > was renamed to cpu_state_reset(), to allow introducing a new cpu_reset() > that would operate on QOM objects. >=20 > All callers have been updated except for one in target-mips, so drop all > implementations except for the one in target-mips and move the > declaration there until MIPSCPU reset can be fully QOM'ified. >=20 > Signed-off-by: Andreas F=C3=A4rber [..] > diff --git a/target-lm32/helper.c b/target-lm32/helper.c > index 3b1cee7..1ea477f 100644 > --- a/target-lm32/helper.c > +++ b/target-lm32/helper.c > @@ -233,9 +233,3 @@ void cpu_lm32_set_phys_msb_ignore(CPULM32State *env, > int value) env->flags &=3D ~LM32_FLAG_IGNORE_MSB; > } > } > - > -void cpu_state_reset(CPULM32State *env) > -{ > - cpu_reset(ENV_GET_CPU(env)); > -} > - Acked-by: Michael Walle