mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
timer_list: print relative expiry time signed
Relative expiry time can get negative, so it should be signed. Signed-off-by: Pavel Machek <Pavel@suse.cz> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
1309d4e684
commit
db4315d6f5
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ print_timer(struct seq_file *m, struct hrtimer *timer, int idx, u64 now)
|
|||
SEQ_printf(m, ", %s/%d", tmp, timer->start_pid);
|
||||
#endif
|
||||
SEQ_printf(m, "\n");
|
||||
SEQ_printf(m, " # expires at %Lu nsecs [in %Lu nsecs]\n",
|
||||
SEQ_printf(m, " # expires at %Lu nsecs [in %Ld nsecs]\n",
|
||||
(unsigned long long)ktime_to_ns(timer->expires),
|
||||
(unsigned long long)(ktime_to_ns(timer->expires) - now));
|
||||
(long long)(ktime_to_ns(timer->expires) - now));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue