aboutsummaryrefslogtreecommitdiff
path: root/target-cris/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-cris/cpu.c')
-rw-r--r--target-cris/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/cpu.c b/target-cris/cpu.c
index bb8e7ea557..0db209bf88 100644
--- a/target-cris/cpu.c
+++ b/target-cris/cpu.c
@@ -170,7 +170,7 @@ static void cris_cpu_initfn(Object *obj)
static bool tcg_initialized;
cs->env_ptr = env;
- cpu_exec_init(env, &error_abort);
+ cpu_exec_init(cs, &error_abort);
env->pregs[PR_VR] = ccc->vr;