blob: bbd102ad9df7c8fcc5df253faf6970d078ba9db9 [file] [log] [blame]
John Stultzaa6f9c592013-03-22 11:31:29 -07001#ifndef _LINUX_NTP_INTERNAL_H
2#define _LINUX_NTP_INTERNAL_H
3
4extern void ntp_init(void);
5extern void ntp_clear(void);
6/* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
7extern u64 ntp_tick_length(void);
8extern int second_overflow(unsigned long secs);
John Stultze4085692013-03-22 12:08:52 -07009extern int ntp_validate_timex(struct timex *);
John Stultz7d489d12014-07-16 21:04:01 +000010extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *);
John Stultzaa6f9c592013-03-22 11:31:29 -070011extern void __hardpps(const struct timespec *, const struct timespec *);
12#endif /* _LINUX_NTP_INTERNAL_H */