diff options
author | Randall Stewart <rrs@FreeBSD.org> | 2015-03-31 00:15:27 +0000 |
---|---|---|
committer | Randall Stewart <rrs@FreeBSD.org> | 2015-03-31 00:15:27 +0000 |
commit | 90b887e0a486d5d4a96957fce1728bfad47b3c85 (patch) | |
tree | 1c3ea5e9efe8a00c868767c8ef9d9bebdc1a80a1 /sys/sys/_callout.h | |
parent | eb828e1bb5fc732f80955a54dcc4c81e26f6228a (diff) | |
download | src-90b887e0a486d5d4a96957fce1728bfad47b3c85.tar.gz src-90b887e0a486d5d4a96957fce1728bfad47b3c85.zip |
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.
Notes
Notes:
svn path=/head/; revision=280871
Diffstat (limited to 'sys/sys/_callout.h')
-rw-r--r-- | sys/sys/_callout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/_callout.h b/sys/sys/_callout.h index 1ad5f51d0eb2..a9134c8dfc4e 100644 --- a/sys/sys/_callout.h +++ b/sys/sys/_callout.h @@ -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 */ }; |