]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Replace incorrect atomic_or with atomic_andnot
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Wed, 16 Sep 2015 13:13:50 +0000 (09:13 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Sep 2015 15:01:06 +0000 (17:01 +0200)
commit6e02abc023642e77607e689da54894554fe604e1
tree75a1fbdcbb01d3ccea73298524522c39af384cf2
parent18d3ef52b1359ae35581f221036333c6cacda00f
KVM: s390: Replace incorrect atomic_or with atomic_andnot

The offending commit accidentally replaces an atomic_clear with an
atomic_or instead of an atomic_andnot in kvm_s390_vcpu_request_handled.
The symptom is that kvm guests on s390 hang on startup.
This patch simply replaces the incorrect atomic_or with atomic_andnot

Fixes: b94c2615a461 (atomic: Replace atomic_{set,clear}_mask() usage)
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.c