From patchwork Tue Jan 5 23:19:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [6/9] sparc64: clear exception_index with -1 value From: "Igor V. Kovalenko" X-Patchwork-Id: 42236 Message-Id: <20100105231933.6526.79032.stgit@skyserv> To: qemu-devel@nongnu.org Date: Wed, 06 Jan 2010 02:19:33 +0300 From: Igor V. Kovalenko Signed-off-by: Igor V. Kovalenko --- target-sparc/op_helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index b1978cb..94f1c7a 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -3535,7 +3535,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