commit | d36f82b2435690d8742235d7bdc5bb5e878077e3 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Tue Jun 25 18:17:26 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 25 16:33:04 2013 -0700 |
tree | 3c7be59f00d0a8b3692a9d7d8b194bf02785886c | |
parent | f072d7aba79c73c3bb4ff1a9b58be5525d755d27 [diff] |
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>