linux/drivers/pps
Arnd Bergmann 7ec88e4be4 ntp/pps: use timespec64 for hardpps()
There is only one user of the hardpps function in the kernel, so
it makes sense to atomically change it over to using 64-bit
timestamps for y2038 safety. In the hardpps implementation,
we also need to change the pps_normtime structure, which is
similar to struct timespec and also requires a 64-bit
seconds portion.

This introduces two temporary variables in pps_kc_event() to
do the conversion, they will be removed again in the next step,
which seemed preferable to having a larger patch changing it
all at the same time.

Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2015-10-01 09:57:59 -07:00
..
clients pps: clients: drop owner assignment from platform_drivers 2014-10-20 16:21:28 +02:00
generators pps: remove unreachable code 2011-03-22 17:44:17 -07:00
Kconfig pps: hide more configuration symbols behind CONFIG_PPS 2013-04-30 17:04:08 -07:00
Makefile pps: add parallel port PPS signal generator 2011-01-13 08:03:21 -08:00
kapi.c pps: convert to idr_alloc() 2013-02-27 19:10:18 -08:00
kc.c ntp/pps: use timespec64 for hardpps() 2015-10-01 09:57:59 -07:00
kc.h pps: add kernel consumer support 2011-01-13 08:03:21 -08:00
pps.c PPS: convert class code to use dev_groups 2013-08-19 21:22:34 -07:00
sysfs.c PPS: convert class code to use dev_groups 2013-08-19 21:22:34 -07:00