]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9bf9fde2c98ba8362ea1d41d8bd8b32a23776e67
tree75a1fbdcbb01d3ccea73298524522c39af384cf2
parent04bb92e4b4cf06a66889d37b892b78f926faa9d4
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: 805de8f43c20 (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