diff options
author | rrs <rrs@FreeBSD.org> | 2015-03-31 00:15:27 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2015-03-31 00:15:27 +0000 |
commit | 67a59f75f02a181abca07187f88d66a35a43ab21 (patch) | |
tree | 1c3ea5e9efe8a00c868767c8ef9d9bebdc1a80a1 /sys/sys/_callout.h | |
parent | b845121fe0fc35a40fbe55b318c2991447f9eed5 (diff) | |
download | FreeBSD-src-67a59f75f02a181abca07187f88d66a35a43ab21.zip FreeBSD-src-67a59f75f02a181abca07187f88d66a35a43ab21.tar.gz |
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.
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 1ad5f51..a9134c8 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 */ }; |