aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-26 16:42:25 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-26 23:05:31 +0200
commit0ac46af39ee84461782b6f096ba1a165c7b0e503 (patch)
treec50600f782511be264fb9ccfd406bac4b27823fd /linux-user/main.c
parentf0ef1cf4d6c996d90df6e4a32a82423d180f3e4d (diff)
downloadqemu-0ac46af39ee84461782b6f096ba1a165c7b0e503.zip
qemu-0ac46af39ee84461782b6f096ba1a165c7b0e503.tar.gz
qemu-0ac46af39ee84461782b6f096ba1a165c7b0e503.tar.bz2
linux-user: Avoid redundant ENV_GET_CPU()
This fixes a mismerge in 874ec3c5b3821bb964f9f37b2f930f2a9ce51652. Acked-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'linux-user/main.c')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 5dc0947..5309117 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3637,7 +3637,7 @@ int main(int argc, char **argv, char **envp)
exit(1);
}
cpu = ENV_GET_CPU(env);
- cpu_reset(ENV_GET_CPU(env));
+ cpu_reset(cpu);
thread_cpu = cpu;