[KTIME]: Introduce ktime_us_delta
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Sat, 16 Jun 2007 15:38:51 +0000 (12:38 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Jul 2007 05:15:25 +0000 (22:15 -0700)
commitf1c91da44728fba24927e44056a56e507c11cf7b
tree0b5c2347c91d364a71b39c9ed24a36c172aeef6b
parentdd36a9aba44e4ddbac011de2cb14a70444487303
[KTIME]: Introduce ktime_us_delta

This provides a reusable time difference function which returns the difference in
microseconds, as often used in the DCCP code.

Commiter note: renamed ktime_delta to ktime_us_delta and put it in ktime.h.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
include/linux/ktime.h