x86: Fix compilation bug in kprobes' twobyte_is_boostable
[linux-btrfs-devel.git] / arch / x86 / kvm / kvm_timer.h
blob64bc6ea78d90961c2f3095fd62c3e130d3cf98aa
2 struct kvm_timer {
3 struct hrtimer timer;
4 s64 period; /* unit: ns */
5 atomic_t pending; /* accumulated triggered timers */
6 bool reinject;
7 struct kvm_timer_ops *t_ops;
8 struct kvm *kvm;
9 struct kvm_vcpu *vcpu;
12 struct kvm_timer_ops {
13 bool (*is_periodic)(struct kvm_timer *);
16 enum hrtimer_restart kvm_timer_fn(struct hrtimer *data);