When trying to build a kernel with time_t commented out, I found that the ntp subsystem still relies on timespec for its pps handling.
This series addresses this and converts all the code to use timespec64 instead, step by step. There is one device driver that interacts with this code directly (rather than only through the ptp subsystem), so I have to convert that driver at the same time.
The patches should ideally stay together as a series, but they do span multiple subsystems, so I'm also looking for the right person to merge them.
Please review.
Thanks,
Arnd
Arnd Bergmann (5): ntp/pps: use timespec64 for hardpps() ntp/pps: replace getnstime_raw_and_real with 64-bit version ntp: use timespec64 in sync_cmos_clock ntp/pps: use y2038 safe types in pps_event_time net: sfc: avoid using timespec
drivers/net/ethernet/sfc/ptp.c | 30 +++++++++++++++--------------- drivers/pps/kapi.c | 4 ++-- include/linux/pps_kernel.h | 16 ++++++++-------- include/linux/timekeeping.h | 4 ++-- include/linux/timex.h | 2 +- kernel/time/ntp.c | 16 ++++++++-------- kernel/time/ntp_internal.h | 2 +- kernel/time/timekeeping.c | 14 +++++++------- 8 files changed, 44 insertions(+), 44 deletions(-)