diff options
Diffstat (limited to 'arch/x86/kvm/timer.c')
-rw-r--r-- | arch/x86/kvm/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/timer.c b/arch/x86/kvm/timer.c index 86dbac072d0c..85cc743a8203 100644 --- a/arch/x86/kvm/timer.c +++ b/arch/x86/kvm/timer.c | |||
@@ -33,7 +33,7 @@ enum hrtimer_restart kvm_timer_fn(struct hrtimer *data) | |||
33 | struct kvm_vcpu *vcpu; | 33 | struct kvm_vcpu *vcpu; |
34 | struct kvm_timer *ktimer = container_of(data, struct kvm_timer, timer); | 34 | struct kvm_timer *ktimer = container_of(data, struct kvm_timer, timer); |
35 | 35 | ||
36 | vcpu = ktimer->kvm->vcpus[ktimer->vcpu_id]; | 36 | vcpu = ktimer->vcpu; |
37 | if (!vcpu) | 37 | if (!vcpu) |
38 | return HRTIMER_NORESTART; | 38 | return HRTIMER_NORESTART; |
39 | 39 | ||