summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-14 13:46:50 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-17 09:10:52 +0200
commitcf447b951a5e45d074dce0681d95ce2478f13181 (patch)
tree26efd94c1ddd8398cd37b72aea893afc490a8ee6 /freebsd/sys/sys
parentInitialize interrupt server earlier (diff)
downloadrtems-libbsd-cf447b951a5e45d074dce0681d95ce2478f13181.tar.bz2
Remove struct callout::c_cpu
This is an optimization of the callout handling. In libbsd all callouts are handled by the one and only timer server.
Diffstat (limited to 'freebsd/sys/sys')
-rw-r--r--freebsd/sys/sys/_callout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/sys/_callout.h b/freebsd/sys/sys/_callout.h
index 650073d3..53df18e9 100644
--- a/freebsd/sys/sys/_callout.h
+++ b/freebsd/sys/sys/_callout.h
@@ -59,7 +59,9 @@ struct callout {
struct lock_object *c_lock; /* lock to handle */
short c_flags; /* User State */
short c_iflags; /* Internal State */
+#ifndef __rtems__
volatile int c_cpu; /* CPU we're scheduled on */
+#endif /* __rtems__ */
};
#endif