> In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset() > was renamed to cpu_state_reset(), to allow introducing a new cpu_reset() > that would operate on QOM objects. > > 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. > > Signed-off-by: Andreas Färber <afaer...@suse.de>
[..] > 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 &= ~LM32_FLAG_IGNORE_MSB; > } > } > - > -void cpu_state_reset(CPULM32State *env) > -{ > - cpu_reset(ENV_GET_CPU(env)); > -} > - Acked-by: Michael Walle <mich...@walle.cc>