Re: [PATCH 1/5] ntp/pps: use timespec64 for hardpps()

From
Thomas Gleixner <hidden>
Date
2015-09-30 07:21:06
Also in
lkml
Reply to
Arnd Bergmann, 2015-09-28
On Mon, 28 Sep 2015, Arnd Bergmann wrote:
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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Gleixner <redacted>
Thread (15 messages) 15 messages, 5 authors, last reply 2015-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help