aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 00bdbb98a..3185286bb 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -815,6 +815,7 @@ CPUARMState *cpu_arm_init(void)
if (!env)
return NULL;
memset(env, 0, sizeof(CPUARMState));
+ cpu_single_env = env;
return env;
}