From 7496f5266c568ceef2d4a3a2d0af381cf1810e30 Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 22 Jun 2004 10:56:50 +0000 Subject: cpu_single_env init git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@967 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-i386') diff --git a/target-i386/helper2.c b/target-i386/helper2.c index 455b348..06c732e 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; } -- cgit v1.1