diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-09-01 15:02:30 -0700 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2008-09-05 21:35:13 -0700 |
commit | cc584b213f252bf698849cf4be2377cd3ec7501a (patch) | |
tree | 621ba11da6a2ab8598f9ed453836cd2c44192260 /kernel/time/timer_list.c | |
parent | 23dd7bb09bd8d7efd8a602aed97b93d52f85e675 (diff) | |
download | linux-cc584b213f252bf698849cf4be2377cd3ec7501a.tar.gz linux-cc584b213f252bf698849cf4be2377cd3ec7501a.tar.bz2 linux-cc584b213f252bf698849cf4be2377cd3ec7501a.zip |
hrtimer: convert kernel/* to the new hrtimer apis
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 kernel/* to these accessors.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Diffstat (limited to 'kernel/time/timer_list.c')
-rw-r--r-- | kernel/time/timer_list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index a40e20fd0001..5224a3215fb7 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -66,8 +66,8 @@ print_timer(struct seq_file *m, struct hrtimer *timer, int idx, u64 now) #endif SEQ_printf(m, "\n"); SEQ_printf(m, " # expires at %Lu nsecs [in %Ld nsecs]\n", - (unsigned long long)ktime_to_ns(timer->expires), - (long long)(ktime_to_ns(timer->expires) - now)); + (unsigned long long)ktime_to_ns(hrtimer_get_expires(timer)), + (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); } static void |