diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-07-16 10:34:28 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-07-16 17:28:56 +0200 |
commit | 63747bf73cf329d4bce9087067042241c5330a4a (patch) | |
tree | 3ce50c29023fd7162f5fab98a1439451c6d9e207 | |
parent | afdad61615cc37fef91bc70af7ee5b293785fbd6 (diff) | |
download | linux-stable-63747bf73cf329d4bce9087067042241c5330a4a.tar.gz linux-stable-63747bf73cf329d4bce9087067042241c5330a4a.tar.bz2 linux-stable-63747bf73cf329d4bce9087067042241c5330a4a.zip |
KVM: s390/vsie: avoid sparse warning
This is a non-functional change that avoids
arch/s390/kvm/vsie.c:839:25: warning: context imbalance in 'do_vsie_run' - unexpected unlock
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
-rw-r--r-- | arch/s390/kvm/vsie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c index 84c89cb9636f..5539df037f91 100644 --- a/arch/s390/kvm/vsie.c +++ b/arch/s390/kvm/vsie.c @@ -818,6 +818,8 @@ static int handle_stfle(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) * - < 0 if an error occurred */ static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page) + __releases(vcpu->kvm->srcu) + __acquires(vcpu->kvm->srcu) { struct kvm_s390_sie_block *scb_s = &vsie_page->scb_s; struct kvm_s390_sie_block *scb_o = vsie_page->scb_o; |