Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2014 13:19:30 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r275611 - stable/10/sys/sys
Message-ID:  <201412081319.sB8DJUVH003021@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon Dec  8 13:19:29 2014
New Revision: 275611
URL: https://svnweb.freebsd.org/changeset/base/275611

Log:
  MFC r275046: whitespace and cosmetic changes in callout_reset family of macros
  
  Not applicable to earlier releases.

Modified:
  stable/10/sys/sys/callout.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/callout.h
==============================================================================
--- stable/10/sys/sys/callout.h	Mon Dec  8 13:13:17 2014	(r275610)
+++ stable/10/sys/sys/callout.h	Mon Dec  8 13:19:29 2014	(r275611)
@@ -81,11 +81,12 @@ void	_callout_init_lock(struct callout *
 int	callout_reset_sbt_on(struct callout *, sbintime_t, sbintime_t,
 	    void (*)(void *), void *, int, int);
 #define	callout_reset_sbt(c, sbt, pr, fn, arg, flags)			\
-    callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), (c)->c_cpu, flags)
+    callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), (c)->c_cpu, (flags))
 #define	callout_reset_sbt_curcpu(c, sbt, pr, fn, arg, flags)		\
-    callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid), flags)
+    callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\
+        (flags))
 #define	callout_reset_on(c, to_ticks, fn, arg, cpu)			\
-    callout_reset_sbt_on((c), (tick_sbt * (to_ticks)), 0, (fn), (arg), \
+    callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg),	\
         (cpu), C_HARDCLOCK)
 #define	callout_reset(c, on_tick, fn, arg)				\
     callout_reset_on((c), (on_tick), (fn), (arg), (c)->c_cpu)



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