summaryrefslogtreecommitdiff
path: root/target-i386/helper2.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/helper2.c')
-rw-r--r--target-i386/helper2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index 455b348a0a..06c732edce 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -75,9 +75,9 @@ CPUX86State *cpu_x86_init(void)
modify_ldt(1, &ldt, sizeof(ldt)); /* write ldt entry */
asm volatile ("movl %0, %%fs" : : "r" ((1 << 3) | 7));
- cpu_single_env = env;
}
#endif
+ cpu_single_env = env;
cpu_reset(env);
return env;
}