diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-03 10:21:32 -0400 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-09-10 06:19:30 -0400 |
commit | f346026e55f1efd3949a67ddd1dcea7c1b9a615e (patch) | |
tree | 6158503aff304c4ad5c242587033d90c716c0e21 /arch/s390 | |
parent | 0349985add77ef5c9da8a75f4a9855977f4197d9 (diff) |
KVM: s390: unintended fallthrough for external call
We must not fallthrough if the conditions for external call are not met.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kvm/interrupt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c index d56da1db8ba0..4abf819a11a5 100644 --- a/arch/s390/kvm/interrupt.c +++ b/arch/s390/kvm/interrupt.c | |||
@@ -86,6 +86,7 @@ static int __must_check __interrupt_is_deliverable(struct kvm_vcpu *vcpu, | |||
86 | return 0; | 86 | return 0; |
87 | if (vcpu->arch.sie_block->gcr[0] & 0x2000ul) | 87 | if (vcpu->arch.sie_block->gcr[0] & 0x2000ul) |
88 | return 1; | 88 | return 1; |
89 | return 0; | ||
89 | case KVM_S390_INT_EMERGENCY: | 90 | case KVM_S390_INT_EMERGENCY: |
90 | if (psw_extint_disabled(vcpu)) | 91 | if (psw_extint_disabled(vcpu)) |
91 | return 0; | 92 | return 0; |