aboutsummaryrefslogtreecommitdiff
path: root/target-tricore/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-tricore/cpu.c')
-rw-r--r--target-tricore/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-tricore/cpu.c b/target-tricore/cpu.c
index 6fa60b1f30..2029ef651a 100644
--- a/target-tricore/cpu.c
+++ b/target-tricore/cpu.c
@@ -92,7 +92,7 @@ static void tricore_cpu_initfn(Object *obj)
CPUTriCoreState *env = &cpu->env;
cs->env_ptr = env;
- cpu_exec_init(env, &error_abort);
+ cpu_exec_init(cs, &error_abort);
if (tcg_enabled()) {
tricore_tcg_init();