From owner-svn-src-all@FreeBSD.ORG Tue Nov 29 08:43:04 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED0CE106566C; Tue, 29 Nov 2011 08:43:04 +0000 (UTC) (envelope-from lstewart@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DC49F8FC13; Tue, 29 Nov 2011 08:43:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAT8h43L031875; Tue, 29 Nov 2011 08:43:04 GMT (envelope-from lstewart@svn.freebsd.org) Received: (from lstewart@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAT8h4nl031872; Tue, 29 Nov 2011 08:43:04 GMT (envelope-from lstewart@svn.freebsd.org) Message-Id: <201111290843.pAT8h4nl031872@svn.freebsd.org> From: Lawrence Stewart Date: Tue, 29 Nov 2011 08:43:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228125 - in head/sys: kern sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 08:43:05 -0000 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.