aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-moxie/cpu.c')
-rw-r--r--target-moxie/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c
index 14d1a24438..47b617f5cd 100644
--- a/target-moxie/cpu.c
+++ b/target-moxie/cpu.c
@@ -45,7 +45,7 @@ static void moxie_cpu_reset(CPUState *s)
memset(env, 0, sizeof(CPUMoxieState));
env->pc = 0x1000;
- tlb_flush(env, 1);
+ tlb_flush(s, 1);
}
static void moxie_cpu_realizefn(DeviceState *dev, Error **errp)