From: Daniel Borkmann Date: Sun, 28 Oct 2012 08:27:19 +0000 (+0000) Subject: pktgen: clean up ktime_t helpers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~464 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398f382c0a5bd62f0f31871e844700e1b9fd1ad3;p=pandora-kernel.git 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 Cc: Cong Wang Cc: Stephen Hemminger Cc: Thomas Gleixner Acked-by: Thomas Gleixner Signed-off-by: David S. Miller --- Reading git-diff-tree failed