projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0349985
)
KVM: s390: unintended fallthrough for external call
author
Christian Borntraeger
<
[email protected]
>
Wed, 3 Sep 2014 14:21:32 +0000
(16:21 +0200)
committer
Christian Borntraeger
<
[email protected]
>
Wed, 10 Sep 2014 10:19:30 +0000
(12:19 +0200)
We must not fallthrough if the conditions for external call are not met.
Signed-off-by: Christian Borntraeger <
[email protected]
>
Reviewed-by: Thomas Huth <
[email protected]
>
Cc:
[email protected]
arch/s390/kvm/interrupt.c
patch
|
blob
|
history
diff --git
a/arch/s390/kvm/interrupt.c
b/arch/s390/kvm/interrupt.c
index d56da1db8ba05b3fedb53f0b58f8c0261eb4cbf2..4abf819a11a55c97d8adbc58c4dc0b6260d6d6c6 100644
(file)
--- 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,
return 0;
if (vcpu->arch.sie_block->gcr[0] & 0x2000ul)
return 1;
+ return 0;
case KVM_S390_INT_EMERGENCY:
if (psw_extint_disabled(vcpu))
return 0;