svn commit: r228125 - in head/sys: kern sys
Lawrence Stewart
lstewart at FreeBSD.org
Tue Nov 29 08:43:05 UTC 2011
Author: lstewart
Date: Tue Nov 29 08:43:04 2011
New Revision: 228125
URL: http://svn.freebsd.org/changeset/base/228125
Log:
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)
Modified:
head/sys/kern/kern_ffclock.c
head/sys/sys/timeffc.h
Modified: head/sys/kern/kern_ffclock.c
==============================================================================
--- head/sys/kern/kern_ffclock.c Tue Nov 29 08:38:47 2011 (r228124)
+++ head/sys/kern/kern_ffclock.c Tue Nov 29 08:43:04 2011 (r228125)
@@ -190,8 +190,6 @@ sysctl_kern_ffclock_choice(SYSCTL_HANDLE
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)
{
Modified: head/sys/sys/timeffc.h
==============================================================================
--- head/sys/sys/timeffc.h Tue Nov 29 08:38:47 2011 (r228124)
+++ head/sys/sys/timeffc.h Tue Nov 29 08:43:04 2011 (r228125)
@@ -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.
More information about the svn-src-all
mailing list