diff options
Diffstat (limited to 'target-moxie')
-rw-r--r-- | target-moxie/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c index 415c65a969..6b035aaab3 100644 --- a/target-moxie/cpu.c +++ b/target-moxie/cpu.c @@ -66,7 +66,7 @@ static void moxie_cpu_initfn(Object *obj) static int inited; cs->env_ptr = &cpu->env; - cpu_exec_init(&cpu->env, &error_abort); + cpu_exec_init(cs, &error_abort); if (tcg_enabled() && !inited) { inited = 1; |