Skip to content

Commit

Permalink
bsd-user: Use cpu_reset() in after cpu_init()
Browse files Browse the repository at this point in the history
Eliminates cpu_state_reset() usage.

Signed-off-by: Andreas Färber <afaerber@suse.de>
  • Loading branch information
afaerber committed May 6, 2012
1 parent 980bf3d commit 5840721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsd-user/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ int main(int argc, char **argv)
exit(1);
}
#if defined(TARGET_I386) || defined(TARGET_SPARC) || defined(TARGET_PPC)
cpu_state_reset(env);
cpu_reset(ENV_GET_CPU(env));
#endif
thread_env = env;

Expand Down

0 comments on commit 5840721

Please sign in to comment.