aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-s390x/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index 95f1ff5443..043feb2739 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -657,7 +657,7 @@ static void do_io_interrupt(CPUS390XState *env)
cpu_unmap_lowcore(lowcore);
env->io_index[isc]--;
- if (env->io_index >= 0) {
+ if (env->io_index[isc] >= 0) {
disable = 0;
}
break;