linux-user: bsd-user: Don't reset X86CPU twice
authorAndreas Färber <afaerber@suse.de>
Sun, 20 Jan 2013 04:34:10 +0000 (05:34 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 1 Feb 2013 00:35:43 +0000 (01:35 +0100)
commit77868120cfe93ad7816dfac6546684e5a6c6e256
tree96d5deb9c8aab88ad9eb29e9603a567886b65efa
parentcc36a7a2c7e281d7d715ac73d31bbccc0d2d2670
linux-user: bsd-user: Don't reset X86CPU twice

Since commit 65dee38052597b6285eb208125369f01b29ba6c1 (target-i386:
move cpu_reset and reset callback to cpu.c) the x86 CPU is reset through
cpu_init() but was still reset immediately after in linux-user and
bsd-user. Clean this up.

Similarly in linux-user/syscall.c it is also reset after cpu_copy().
But that's a bug of its own, fixing which poses a semantic change.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
bsd-user/main.c
linux-user/main.c