X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=target-s390x%2Fhelper.c;h=043feb2739778797bff6b09162b2a3cba9e82afd;hb=b22dd1243f38286263d40496ce5298a8a7d96eea;hp=95f1ff54439d741d66adde455c048a928d35d912;hpb=0123c486367ab77c3c5ed349616a862eb474a03f;p=qemu.git diff --git a/target-s390x/helper.c b/target-s390x/helper.c index 95f1ff544..043feb273 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;