diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-07-08 13:02:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-08 20:57:46 -0700 |
commit | bfd4ecdd87d350e19457fe0d02fa1e046774c44e (patch) | |
tree | da520ead4d541c35cf29fc7c2c2e290b2d2a972b /drivers/sbus | |
parent | 96018f52c532b69424d354a848ac7812136650f6 (diff) |
net: fec: consolidate hwtstamp implementation
Both transmit and receive use the same infrastructure for calculating
the packet timestamp. Rather than duplicating the code, provide a
function to do this common work. Model this function in the Intel
e1000e version which avoids calling ns_to_ktime() within the spinlock;
the spinlock is critical for timecounter_cyc2time() but not
ns_to_ktime().
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions