ktime: add ms_to_ktime() and ktime_add_ms() helpers
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 25 Jun 2013 16:17:26 +0000 (18:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:33:04 +0000 (16:33 -0700)
commitd36f82b2435690d8742235d7bdc5bb5e878077e3
tree3c7be59f00d0a8b3692a9d7d8b194bf02785886c
parentf072d7aba79c73c3bb4ff1a9b58be5525d755d27
ktime: add ms_to_ktime() and ktime_add_ms() helpers

Add two ktime helper functions that i) convert a given msec value to
a ktime structure and ii) that adds a msec value to a ktime structure.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ktime.h