]> git.proxmox.com Git - qemu.git/blobdiff - target-s390x/helper.c
target-s390x: Fix wrong comparison in interrupt handling
[qemu.git] / target-s390x / helper.c
index 95f1ff54439d741d66adde455c048a928d35d912..043feb2739778797bff6b09162b2a3cba9e82afd 100644 (file)
@@ -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;