projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23446d1
)
hrtimer: convert kvm-ia64 to the new hrtimer apis
author
Arjan van de Ven
<arjan@linux.intel.com>
Mon, 1 Sep 2008 22:19:11 +0000
(15:19 -0700)
committer
Arjan van de Ven
<arjan@linux.intel.com>
Sat, 6 Sep 2008 04:35:19 +0000
(21:35 -0700)
In order to be able to do range hrtimers we need to use accessor functions
to the "expire" member of the hrtimer struct.
This patch converts KVM-ia64 to these accessors.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
arch/ia64/kvm/kvm-ia64.c
patch
|
blob
|
history
diff --git
a/arch/ia64/kvm/kvm-ia64.c
b/arch/ia64/kvm/kvm-ia64.c
index 7a37d06376be893799fa2bfdb30311251a3edbeb..cf8eae1855e627bee0bf5d3a2ee123c318fdf26e 100644
(file)
--- a/
arch/ia64/kvm/kvm-ia64.c
+++ b/
arch/ia64/kvm/kvm-ia64.c
@@
-1112,7
+1112,7
@@
static void kvm_migrate_hlt_timer(struct kvm_vcpu *vcpu)
struct hrtimer *p_ht = &vcpu->arch.hlt_timer;
if (hrtimer_cancel(p_ht))
- hrtimer_start
(p_ht, p_ht->expires
, HRTIMER_MODE_ABS);
+ hrtimer_start
_expires(p_ht
, HRTIMER_MODE_ABS);
}
static enum hrtimer_restart hlt_timer_fn(struct hrtimer *data)