ntp: use timespec64 in sync_cmos_clock
authorArnd Bergmann <arnd@arndb.de>
Mon, 28 Sep 2015 20:21:30 +0000 (22:21 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 1 Oct 2015 16:59:07 +0000 (09:59 -0700)
commit5fd96c421ff2c76ec441aa4139c3b87dfea93e3a
tree4f527de60428b2eaebe710505555c1557e851699
parent071eee45b1650d53d21c636d344bdcebd4577ed2
ntp: use timespec64 in sync_cmos_clock

The sync_cmos_clock has one use of struct timespec, which we want to
eventually replace with timespec64 or similar in the kernel. There
is no way this one can overflow, but the conversion to timespec64
is trivial and has no other dependencies.

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>
kernel/time/ntp.c