]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: drop use of spin lock in __floating_irq_kick
authorMichael Mueller <mimu@linux.vnet.ibm.com>
Mon, 20 Nov 2017 09:37:30 +0000 (10:37 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 16 Jan 2018 15:15:18 +0000 (16:15 +0100)
commitd1e937c32d9077fba9d8790b0ce77ca534f8e16e
treec93a064c8de15ecd939d74e708010958a5ff7074
parentfd19d926dc7d6e6a263d6756451ff5dd6f3f6922
KVM: s390: drop use of spin lock in __floating_irq_kick

It is not required to take to a lock to protect access to the cpuflags
of the local interrupt structure of a vcpu as the performed operation
is an atomic_or.

Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c