diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2013-06-12 11:54:55 (GMT) |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-17 15:09:17 (GMT) |
commit | d0321a24bf10e2299a997c4747b924f79f70a232 (patch) | |
tree | e10307eb964122b951ea0ca56d756092143605bd /arch/s390/include/asm/kvm_host.h | |
parent | b110feaf4d0bbc31802589ea6b956389afdabcee (diff) | |
download | linux-d0321a24bf10e2299a997c4747b924f79f70a232.tar.xz |
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>
Diffstat (limited to 'arch/s390/include/asm/kvm_host.h')
-rw-r--r-- | arch/s390/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/include/asm/kvm_host.h index 43207dd..d3ffd7e 100644 --- a/arch/s390/include/asm/kvm_host.h +++ b/arch/s390/include/asm/kvm_host.h @@ -228,7 +228,7 @@ struct kvm_s390_local_interrupt { atomic_t active; struct kvm_s390_float_interrupt *float_int; int timer_due; /* event indicator for waitqueue below */ - wait_queue_head_t wq; + wait_queue_head_t *wq; atomic_t *cpuflags; unsigned int action_bits; }; |