summaryrefslogtreecommitdiff
path: root/kernel/time/ntp_internal.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2014-07-17 01:04:01 +0400
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 21:17:54 +0400
commit7d489d15ce4be5310ca60e5896df833f9b3b4088 (patch)
treecc1014424d4d040f282fa66dba8a387a3d42051a /kernel/time/ntp_internal.h
parent49cd6f869984692547c57621bf42697aaa7f5622 (diff)
downloadlinux-7d489d15ce4be5310ca60e5896df833f9b3b4088.tar.xz
timekeeping: Convert timekeeping core to use timespec64s
Convert the core timekeeping logic to use timespec64s. This moves the 2038 issues out of the core logic and into all of the accessor functions. Future changes will need to push the timespec64s out to all timekeeping users, but that can be done interface by interface. Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/ntp_internal.h')
-rw-r--r--kernel/time/ntp_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/ntp_internal.h b/kernel/time/ntp_internal.h
index 1950cb4ca2a4..bbd102ad9df7 100644
--- a/kernel/time/ntp_internal.h
+++ b/kernel/time/ntp_internal.h
@@ -7,6 +7,6 @@ extern void ntp_clear(void);
extern u64 ntp_tick_length(void);
extern int second_overflow(unsigned long secs);
extern int ntp_validate_timex(struct timex *);
-extern int __do_adjtimex(struct timex *, struct timespec *, s32 *);
+extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *);
extern void __hardpps(const struct timespec *, const struct timespec *);
#endif /* _LINUX_NTP_INTERNAL_H */