summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/kvm_timer.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-06-09 14:56:27 +0200
committerAvi Kivity <avi@redhat.com>2009-09-10 07:32:52 +0200
commit1ed0ce000a6c20c36ec649e32fc24393ef418ed8 (patch)
tree85a78c27d972c64e8bd9ff6b429d398977f8ac8b /arch/x86/kvm/kvm_timer.h
parentKVM: Introduce kvm_vcpu_is_bsp() function. (diff)
downloadlinux-1ed0ce000a6c20c36ec649e32fc24393ef418ed8.tar.xz
linux-1ed0ce000a6c20c36ec649e32fc24393ef418ed8.zip
KVM: Use pointer to vcpu instead of vcpu_id in timer code.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/kvm_timer.h')
-rw-r--r--arch/x86/kvm/kvm_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/kvm_timer.h b/arch/x86/kvm/kvm_timer.h
index 26bd6ba74e1c..55c7524dda54 100644
--- a/arch/x86/kvm/kvm_timer.h
+++ b/arch/x86/kvm/kvm_timer.h
@@ -6,7 +6,7 @@ struct kvm_timer {
bool reinject;
struct kvm_timer_ops *t_ops;
struct kvm *kvm;
- int vcpu_id;
+ struct kvm_vcpu *vcpu;
};
struct kvm_timer_ops {