aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/helper.c')
-rw-r--r--target-alpha/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index be7d37b0d9..1e0bc4a155 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -467,7 +467,7 @@ void do_interrupt (CPUState *env)
env->ipr[IPR_EXC_ADDR] = env->pc | 1;
excp = env->exception_index;
- env->exception_index = 0;
+ env->exception_index = -1;
env->error_code = 0;
/* XXX: disable interrupts and memory mapping */
if (env->ipr[IPR_PAL_BASE] != -1ULL) {