diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-14 13:46:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-17 09:10:52 +0200 |
commit | cf447b951a5e45d074dce0681d95ce2478f13181 (patch) | |
tree | 26efd94c1ddd8398cd37b72aea893afc490a8ee6 /freebsd/sys/sys | |
parent | Initialize interrupt server earlier (diff) | |
download | rtems-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.h | 2 |
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 |