Author: rrs
Date: Tue Mar 31 00:15:27 2015
New Revision: 280871
URL: https://svnweb.freebsd.org/changeset/base/280871

Log:
  Change the c_iflags and c_flags fields to short rather then int. This
  allows us to keep the KPI the same.
  
  Discussed and brain-stormed with imp (thanks for the help Warner!)
  Sponsored by: Netflix Inc.

Modified:
  head/sys/sys/_callout.h

Modified: head/sys/sys/_callout.h
==============================================================================
--- head/sys/sys/_callout.h     Tue Mar 31 00:00:47 2015        (r280870)
+++ head/sys/sys/_callout.h     Tue Mar 31 00:15:27 2015        (r280871)
@@ -57,8 +57,8 @@ struct callout {
        void    *c_arg;                         /* function argument */
        void    (*c_func)(void *);              /* function to call */
        struct lock_object *c_lock;             /* lock to handle */
-       int     c_flags;                        /* User State */
-       int     c_iflags;                       /* Internal State */
+       short   c_flags;                        /* User State */
+       short   c_iflags;                       /* Internal State */
        volatile int c_cpu;                     /* CPU we're scheduled on */
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to