diff --git a/cpu-exec.c b/cpu-exec.c index 13b8daa912..0256edf1f3 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -313,9 +313,9 @@ int cpu_exec(CPUState *env1) #elif defined(TARGET_M68K) do_interrupt(0); #endif + env->exception_index = -1; #endif } - env->exception_index = -1; } if (kvm_enabled()) {