diff options
| author | Radim Krčmář <rkrcmar@redhat.com> | 2013-09-04 16:32:24 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-09-24 13:12:12 -0400 |
| commit | 98fda169290b3b28c0f2db2b8f02290c13da50ef (patch) | |
| tree | d7726c9b6603b7e721308e36a6ff38980a170b47 /include/linux | |
| parent | 519192aaae38e24d6b32d3d55d791fe294981185 (diff) | |
kvm: remove .done from struct kvm_async_pf
'.done' is used to mark the completion of 'async_pf_execute()', but
'cancel_work_sync()' returns true when the work was canceled, so we
use it instead.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 0fbbc7aa02cb..749bdb12cd15 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -190,7 +190,6 @@ struct kvm_async_pf { | |||
| 190 | unsigned long addr; | 190 | unsigned long addr; |
| 191 | struct kvm_arch_async_pf arch; | 191 | struct kvm_arch_async_pf arch; |
| 192 | struct page *page; | 192 | struct page *page; |
| 193 | bool done; | ||
| 194 | }; | 193 | }; |
| 195 | 194 | ||
| 196 | void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu); | 195 | void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu); |
