diff options
| author | Jintack Lim <[email protected]> | 2017-02-03 15:20:01 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2017-02-08 15:13:33 +0000 |
| commit | 9171fa2e0951b0cb6c443e0dce2c4620de3b1dfe (patch) | |
| tree | 30f81e8e82eac5f8cffa83099df7f7552deb4eaf /include/kvm/arm_arch_timer.h | |
| parent | KVM: arm/arm64: Move cntvoff to each timer context (diff) | |
| download | kernel-9171fa2e0951b0cb6c443e0dce2c4620de3b1dfe.tar.gz kernel-9171fa2e0951b0cb6c443e0dce2c4620de3b1dfe.zip | |
KVM: arm/arm64: Decouple kvm timer functions from virtual timer
Now that we have a separate structure for timer context, make functions
generic so that they can work with any timer context, not just the
virtual timer context. This does not change the virtual timer
functionality.
Signed-off-by: Jintack Lim <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Acked-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
| -rw-r--r-- | include/kvm/arm_arch_timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index 2c8560b4642a..f46fa3b62b06 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -66,7 +66,7 @@ void kvm_timer_vcpu_terminate(struct kvm_vcpu *vcpu); u64 kvm_arm_timer_get_reg(struct kvm_vcpu *, u64 regid); int kvm_arm_timer_set_reg(struct kvm_vcpu *, u64 regid, u64 value); -bool kvm_timer_should_fire(struct kvm_vcpu *vcpu); +bool kvm_timer_should_fire(struct arch_timer_context *timer_ctx); void kvm_timer_schedule(struct kvm_vcpu *vcpu); void kvm_timer_unschedule(struct kvm_vcpu *vcpu); |
