]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/s390/kvm/priv.c
Merge remote-tracking branch 'kvm/linux-next'
[karo-tx-linux.git] / arch / s390 / kvm / priv.c
index ed256fdd7b58040ac9208ea9aa8ff01979bb8334..d768906f15c81b27b82698ae49368579a2169ef9 100644 (file)
@@ -217,7 +217,7 @@ static void handle_stsi_3_2_2(struct kvm_vcpu *vcpu, struct sysinfo_3_2_2 *mem)
        spin_unlock(&fi->lock);
 
        /* deal with other level 3 hypervisors */
-       if (stsi(mem, 3, 2, 2) == -ENOSYS)
+       if (stsi(mem, 3, 2, 2))
                mem->count = 0;
        if (mem->count < 8)
                mem->count++;
@@ -265,7 +265,7 @@ static int handle_stsi(struct kvm_vcpu *vcpu)
                mem = get_zeroed_page(GFP_KERNEL);
                if (!mem)
                        goto out_fail;
-               if (stsi((void *) mem, fc, sel1, sel2) == -ENOSYS)
+               if (stsi((void *) mem, fc, sel1, sel2))
                        goto out_mem;
                break;
        case 3: