diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-13 17:36:27 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
commit | 8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14 (patch) | |
tree | 03044a649b433ed87138b1203a612185164b72d0 /target/openrisc | |
parent | b77af26e973705e8fd96cff102fc978ee44043da (diff) | |
download | qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.zip qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.tar.gz qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.tar.bz2 |
accel/tcg: Remove cpu_set_cpustate_pointers
This function is now empty, so remove it. In the case of
m68k and tricore, this empties the class instance initfn,
so remove those as well.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/openrisc')
-rw-r--r-- | target/openrisc/cpu.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target/openrisc/cpu.c b/target/openrisc/cpu.c index be06770..f5a3d52 100644 --- a/target/openrisc/cpu.c +++ b/target/openrisc/cpu.c @@ -149,12 +149,8 @@ static void openrisc_cpu_realizefn(DeviceState *dev, Error **errp) static void openrisc_cpu_initfn(Object *obj) { - OpenRISCCPU *cpu = OPENRISC_CPU(obj); - - cpu_set_cpustate_pointers(cpu); - #ifndef CONFIG_USER_ONLY - qdev_init_gpio_in_named(DEVICE(cpu), openrisc_cpu_set_irq, "IRQ", NR_IRQS); + qdev_init_gpio_in_named(DEVICE(obj), openrisc_cpu_set_irq, "IRQ", NR_IRQS); #endif } |