summaryrefslogtreecommitdiff
path: root/target-i386/helper2.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-22 10:56:50 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-22 10:56:50 +0000
commit7496f5266c568ceef2d4a3a2d0af381cf1810e30 (patch)
tree46be97b74b5f74b6a487c66f84838189597c6a7e /target-i386/helper2.c
parent91d848ebf3bc7fd73fb1a4fc11bdb04225b3f37d (diff)
downloadqemu-7496f5266c568ceef2d4a3a2d0af381cf1810e30.tar.gz
cpu_single_env init
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@967 c046a42c-6fe2-441c-8c8c-71466251a162
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;
}