mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
23dd7bb09b
commit
cc584b213f
8 changed files with 47 additions and 52 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue