]> 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)
commite47d04132507ca620f0f4ff24538c0d2698d3743
treec93a064c8de15ecd939d74e708010958a5ff7074
parente47f76cb96c09230ac59122104efc89b92eaf45d
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