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 */
};
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"