cpu-exec: Change cpu_loop_exit() argument to CPUState

Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
Andreas Färber 2013-08-27 17:52:12 +02:00
parent d5a11fefef
commit 5638d180d6
28 changed files with 64 additions and 67 deletions

View file

@ -40,12 +40,12 @@
static void exception_action(CPUArchState *env1)
{
#if defined(TARGET_I386)
CPUState *cpu = ENV_GET_CPU(env1);
#if defined(TARGET_I386)
raise_exception_err(env1, cpu->exception_index, env1->error_code);
#else
cpu_loop_exit(env1);
cpu_loop_exit(cpu);
#endif
}