summaryrefslogtreecommitdiff
path: root/hw/milkymist.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist.c')
-rw-r--r--hw/milkymist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist.c b/hw/milkymist.c
index eaef0c24c3..7ec65549f4 100644
--- a/hw/milkymist.c
+++ b/hw/milkymist.c
@@ -61,7 +61,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 = reset_info->bootstrap_pc;