Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 08:43:04 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228125 - in head/sys: kern sys
Message-ID:  <201111290843.pAT8h4nl031872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111290843.pAT8h4nl031872>