svn commit: r247603 - projects/calloutng/sys/kern

Davide Italiano davide at FreeBSD.org
Sat Mar 2 00:53:17 UTC 2013


Author: davide
Date: Sat Mar  2 00:53:16 2013
New Revision: 247603
URL: http://svnweb.freebsd.org/changeset/base/247603

Log:
  Try to use a better type for 'cc_waiting' and 'cc_cancel' fields of
  cc_exec structure. Their value has to be only 0 or 1 and this change
  try to make this more evident.
  
  Suggested by:	attilio

Modified:
  projects/calloutng/sys/kern/kern_timeout.c

Modified: projects/calloutng/sys/kern/kern_timeout.c
==============================================================================
--- projects/calloutng/sys/kern/kern_timeout.c	Sat Mar  2 00:53:12 2013	(r247602)
+++ projects/calloutng/sys/kern/kern_timeout.c	Sat Mar  2 00:53:16 2013	(r247603)
@@ -123,8 +123,8 @@ struct cc_exec {
 	int			ce_migration_cpu;
 	sbintime_t		ce_migration_time;
 #endif
-	int			cc_cancel;
-	int			cc_waiting;
+	boolean_t		cc_cancel;
+	boolean_t		cc_waiting;
 };
 
 /*


More information about the svn-src-projects mailing list