Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 16:28:10 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r244223 - projects/calloutng/sys/sys
Message-ID:  <201212141628.qBEGSAFH096924@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Dec 14 16:28:10 2012
New Revision: 244223
URL: http://svnweb.freebsd.org/changeset/base/244223

Log:
  Use system-wide precision level for legacy callout(9) APIs.

Modified:
  projects/calloutng/sys/sys/callout.h

Modified: projects/calloutng/sys/sys/callout.h
==============================================================================
--- projects/calloutng/sys/sys/callout.h	Fri Dec 14 16:12:16 2012	(r244222)
+++ projects/calloutng/sys/sys/callout.h	Fri Dec 14 16:28:10 2012	(r244223)
@@ -79,7 +79,7 @@ int	_callout_reset_on(struct callout *, 
 	    struct bintime *, int, void (*)(void *), void *, int, int);
 #define	callout_reset_on(c, to_ticks, fn, arg, cpu)			\
     _callout_reset_on((c), NULL, NULL, (to_ticks), (fn), (arg), 	\
-        (cpu), 0)
+        (cpu), C_PRELSET(tc_timeexp))
 #define callout_reset_flags_on(c, to_ticks, fn, arg, cpu, flags)	\
     _callout_reset_on((c), NULL, NULL, (to_ticks), (fn), (arg), (cpu),	\
         (flags))



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