mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
pps_shiftmax only exists #ifdef PPS_SYNC
Found by: Roger Hardiman <roger@cs.strath.ac.uk>
This commit is contained in:
parent
9be376cc32
commit
5968e18b69
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50663
@ -241,7 +241,9 @@ SYSCTL_NODE(_kern, OID_AUTO, ntp_pll, CTLFLAG_RW, 0, "");
|
|||||||
SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD,
|
SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD,
|
||||||
0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", "");
|
0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", "");
|
||||||
|
|
||||||
|
#ifdef PPS_SYNC
|
||||||
SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, "");
|
SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, "");
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* ntp_adjtime() - NTP daemon application interface
|
* ntp_adjtime() - NTP daemon application interface
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user