diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2013-09-04 22:32:24 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-06-09 13:29:03 +0100 |
commit | d244fc2319deec77099d7b4d63d8fe8830ac66ec (patch) | |
tree | d95e6d7012a0a837a5e9514a381eb00abcfcb17a /include | |
parent | 21820c185fa08509ed2abaf4de43b56656eb038d (diff) |
kvm: remove .done from struct kvm_async_pf
commit 98fda169290b3b28c0f2db2b8f02290c13da50ef upstream.
'.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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-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 e6796c19dc6..f93d8c11e08 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -95,7 +95,6 @@ struct kvm_async_pf { unsigned long addr; struct kvm_arch_async_pf arch; struct page *page; - bool done; }; void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu); |