KVM: s390: Use common waitqueue
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 12 Jun 2013 11:54:55 +0000 (13:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2013 15:09:17 +0000 (17:09 +0200)
commitd0321a24bf10e2299a997c4747b924f79f70a232
treee10307eb964122b951ea0ca56d756092143605bd
parentb110feaf4d0bbc31802589ea6b956389afdabcee
KVM: s390: Use common waitqueue

Lets use the common waitqueue for kvm cpus on s390. By itself it is
just a cleanup, but it should also improve the accuracy of diag 0x44
which is implemented via kvm_vcpu_on_spin. kvm_vcpu_on_spin has
an explicit check for waiting on the waitqueue to optimize the
yielding.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/sigp.c