From: Igor V. Kovalenko Date: Wed, 6 Jan 2010 17:35:22 +0000 (+0000) Subject: sparc64: clear exception_index with -1 value X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=821b19fe923ac49a24cdb4af902584fdd019cee6;p=qemu.git sparc64: clear exception_index with -1 value Signed-off-by: Igor V. Kovalenko Signed-off-by: Blue Swirl --- diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index dab2c25a2b..ea14e112f8 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -3468,7 +3468,7 @@ void do_interrupt(CPUState *env) env->tbr |= ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5); env->pc = env->tbr; env->npc = env->pc + 4; - env->exception_index = 0; + env->exception_index = -1; } #else #ifdef DEBUG_PCALL