diff options
-rw-r--r-- | cpu-exec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 4adfb81aa..1edfa19a0 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -204,8 +204,7 @@ int cpu_exec(CPUState *env1) #elif defined(TARGET_PPC) do_interrupt(env); #elif defined(TARGET_SPARC) - do_interrupt(env->exception_index, - env->error_code); + do_interrupt(env->exception_index); #endif } env->exception_index = -1; @@ -287,7 +286,7 @@ int cpu_exec(CPUState *env1) } #elif defined(TARGET_SPARC) if (interrupt_request & CPU_INTERRUPT_HARD) { - do_interrupt(env->interrupt_index, 0); + do_interrupt(env->interrupt_index); env->interrupt_request &= ~CPU_INTERRUPT_HARD; } else if (interrupt_request & CPU_INTERRUPT_TIMER) { //do_interrupt(0, 0, 0, 0, 0); |