Files
kernel_amazon_mt8127-common/include/linux
Daniel Borkmann 6e94d1ef37 net: socket: move ktime2ts to ktime header api
Currently, ktime2ts is a small helper function that is only used in
net/socket.c. Move this helper into the ktime API as a small inline
function, so that i) it's maintained together with ktime routines,
and ii) also other files can make use of it. The function is named
ktime_to_timespec_cond() and placed into the generic part of ktime,
since we internally make use of ktime_to_timespec(). ktime_to_timespec()
itself does not check the ktime variable for zero, hence, we name
this function ktime_to_timespec_cond() for only a conditional
conversion, and adapt its users to it.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-19 16:39:13 -04:00
..
2013-04-11 15:57:32 -04:00
2013-03-19 19:15:52 +01:00
2013-03-06 14:55:20 -05:00
2013-04-19 14:46:06 -04:00
2013-03-22 16:41:20 -07:00
2013-03-12 11:40:53 -04:00
2013-03-29 15:31:30 -04:00
2013-03-19 19:15:52 +01:00
2013-03-10 22:20:05 +01:00
2013-03-21 11:47:51 -04:00
2013-03-20 12:10:38 -04:00