diff options
author | lstewart <lstewart@FreeBSD.org> | 2011-11-29 08:43:04 +0000 |
---|---|---|
committer | lstewart <lstewart@FreeBSD.org> | 2011-11-29 08:43:04 +0000 |
commit | 81cb526f0e1bd29c4a7fb7bbb99306632f961e76 (patch) | |
tree | 53fc6ac183c4825f5fd0e057decb9fc68ab2e544 | |
parent | 009670e1b3313d3f82eaae112e37d4479c304cd0 (diff) | |
download | FreeBSD-src-81cb526f0e1bd29c4a7fb7bbb99306632f961e76.zip FreeBSD-src-81cb526f0e1bd29c4a7fb7bbb99306632f961e76.tar.gz |
Make sysclock_active publicly available to external consumers.
Committed on behalf of Julien Ridoux and Darryl Veitch from the University of
Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward
Clock Synchronization Algorithms" project.
For more information, see http://www.synclab.org/radclock/
Discussed with: Julien Ridoux (jridoux at unimelb edu au)
Submitted by: Julien Ridoux (jridoux at unimelb edu au)
-rw-r--r-- | sys/kern/kern_ffclock.c | 2 | ||||
-rw-r--r-- | sys/sys/timeffc.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_ffclock.c b/sys/kern/kern_ffclock.c index fecde54..35a268e 100644 --- a/sys/kern/kern_ffclock.c +++ b/sys/kern/kern_ffclock.c @@ -190,8 +190,6 @@ sysctl_kern_ffclock_choice(SYSCTL_HANDLER_ARGS) SYSCTL_PROC(_kern_ffclock, OID_AUTO, choice, CTLTYPE_STRING | CTLFLAG_RD, 0, 0, sysctl_kern_ffclock_choice, "A", "Clock paradigms available"); -extern int sysclock_active; - static int sysctl_kern_ffclock_active(SYSCTL_HANDLER_ARGS) { diff --git a/sys/sys/timeffc.h b/sys/sys/timeffc.h index 58fa9a9a..bc08e27 100644 --- a/sys/sys/timeffc.h +++ b/sys/sys/timeffc.h @@ -61,6 +61,7 @@ struct ffclock_estimate { */ #define SYSCLOCK_FBCK 0 #define SYSCLOCK_FFWD 1 +extern int sysclock_active; /* * Parameters of counter characterisation required by feed-forward algorithms. |