blob: a2a397659e46f457eac0718242a1013cbf1303ba [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 Stultzaa6f9c592013-03-22 11:31:29 -070010extern int __do_adjtimex(struct timex *);
11extern void __hardpps(const struct timespec *, const struct timespec *);
12#endif /* _LINUX_NTP_INTERNAL_H */