xref: /linux/kernel/time/ntp_internal.h (revision aa6f9c595d857328e5d815e5b94c0e7cd31a6b59)
1*aa6f9c59SJohn Stultz #ifndef _LINUX_NTP_INTERNAL_H
2*aa6f9c59SJohn Stultz #define _LINUX_NTP_INTERNAL_H
3*aa6f9c59SJohn Stultz 
4*aa6f9c59SJohn Stultz extern void ntp_init(void);
5*aa6f9c59SJohn Stultz extern void ntp_clear(void);
6*aa6f9c59SJohn Stultz /* Returns how long ticks are at present, in ns / 2^NTP_SCALE_SHIFT. */
7*aa6f9c59SJohn Stultz extern u64 ntp_tick_length(void);
8*aa6f9c59SJohn Stultz extern int second_overflow(unsigned long secs);
9*aa6f9c59SJohn Stultz extern int __do_adjtimex(struct timex *);
10*aa6f9c59SJohn Stultz extern void __hardpps(const struct timespec *, const struct timespec *);
11*aa6f9c59SJohn Stultz #endif /* _LINUX_NTP_INTERNAL_H */
12