summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2018-07-16 10:34:28 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2018-07-16 17:28:56 +0200
commit63747bf73cf329d4bce9087067042241c5330a4a (patch)
tree3ce50c29023fd7162f5fab98a1439451c6d9e207 /arch/s390/kvm
parentafdad61615cc37fef91bc70af7ee5b293785fbd6 (diff)
downloadtalos-obmc-linux-63747bf73cf329d4bce9087067042241c5330a4a.tar.gz
talos-obmc-linux-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>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/vsie.c2
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;
OpenPOWER on IntegriCloud