Files
Linux/include/linux
Daniel Borkmann 398f382c0a pktgen: clean up ktime_t helpers
Some years ago, the ktime_t helper functions ktime_now() and ktime_lt()
have been introduced. Instead of defining them inside pktgen.c, they
should either use ktime_t library functions or, if not available, they
should be defined in ktime.h, so that also others can benefit from them.
ktime_compare() is introduced with a similar notion as in timespec_compare().

Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-11-03 14:50:15 -04:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-08 13:50:20 +10:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-16 18:49:15 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-16 13:37:17 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-06 03:04:56 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-11-03 14:50:15 -04:00
…
…
…
2012-10-10 01:15:44 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-09 16:22:54 +09:00
…
2012-10-09 16:23:00 +09:00
2012-10-10 20:00:55 +10:30
…
…
…
…
…
…
…
…
…
2012-10-31 13:18:28 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-10 22:41:05 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-05 22:23:53 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-11 08:50:16 +09:00
…
…
…
2012-10-06 03:05:01 +09:00
…
…
…
…
…
…
2012-10-11 20:02:04 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-09 16:22:55 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2012-10-09 16:22:32 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…