svn commit: r247715 - head/sys/kern

Davide Italiano davide at FreeBSD.org
Sun Mar 3 15:01:34 UTC 2013


Author: davide
Date: Sun Mar  3 15:01:33 2013
New Revision: 247715
URL: http://svnweb.freebsd.org/changeset/base/247715

Log:
  callwheelmask and callwheelsize are always greater than zero.
  Switch their type to u_int.

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c	Sun Mar  3 14:47:02 2013	(r247714)
+++ head/sys/kern/kern_timeout.c	Sun Mar  3 15:01:33 2013	(r247715)
@@ -83,7 +83,7 @@ SYSCTL_INT(_debug, OID_AUTO, to_avg_mpca
  * TODO:
  *	allocate more timeout table slots when table overflows.
  */
-int callwheelsize, callwheelmask;
+u_int callwheelsize, callwheelmask;
 
 /*
  * The callout cpu migration entity represents informations necessary for


More information about the svn-src-all mailing list