summaryrefslogtreecommitdiff
path: root/hw/lm32_boards.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_boards.c')
-rw-r--r--hw/lm32_boards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c
index 3cdf120a14..51c8a0f913 100644
--- a/hw/lm32_boards.c
+++ b/hw/lm32_boards.c
@@ -56,7 +56,7 @@ static void main_cpu_reset(void *opaque)
ResetInfo *reset_info = opaque;
CPUState *env = reset_info->env;
- cpu_reset(env);
+ cpu_state_reset(env);
/* init defaults */
env->pc = (uint32_t)reset_info->bootstrap_pc;