]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: tilegx: convert to the 64 bit get/set time methods.
authorRichard Cochran <richardcochran@gmail.com>
Sun, 29 Mar 2015 21:12:09 +0000 (23:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 16:01:18 +0000 (12:01 -0400)
commit5b9769b42896a8c9841187a972938ad57bec4e91
treeeaa856bbbac250789d29cda2836fdec15e684a0c
parent374c3e9b43db47657550ef87330a6d2cb444f70b
ptp: tilegx: convert to the 64 bit get/set time methods.

This driver is 64 bit only, and so this driver and device are ready
for 2038.  This patch changes the driver to the new PHC and also
carries the timespec64 parameter on out to the gxio_mpipe_get-
set_timestamp functions, making explicit the fact that the tv_sec
field is 64 bits wide.

Not even compile tested.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Chris Metcalf <cmetcalf@ezchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/tile/gxio/mpipe.c
arch/tile/include/gxio/mpipe.h
drivers/net/ethernet/tile/tilegx.c