diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-09-20 15:01:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-09-20 16:18:23 +0200 |
commit | 473437ccd716864711b900c36f46fcb4b26a605e (patch) | |
tree | b698dc8ee6ff091b042ced8876a1e5011eaea9e5 /rtemsbsd/src/rtems-bsd-support.c | |
parent | Update due to Newlib <sys/cdefs.h> changes (diff) | |
download | rtems-libbsd-473437ccd716864711b900c36f46fcb4b26a605e.tar.bz2 |
Update due to header file changes
Diffstat (limited to 'rtemsbsd/src/rtems-bsd-support.c')
-rw-r--r-- | rtemsbsd/src/rtems-bsd-support.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/rtemsbsd/src/rtems-bsd-support.c b/rtemsbsd/src/rtems-bsd-support.c index 4a61b179..8c0ccac7 100644 --- a/rtemsbsd/src/rtems-bsd-support.c +++ b/rtemsbsd/src/rtems-bsd-support.c @@ -37,14 +37,12 @@ * SUCH DAMAGE. */ -/* - * This violation is specifically for _Thread_Disable_dispatch - * and _Thread_Enable_dispatch. Use of the critical_enter() - * and critical_exit() routines should be reviewed. - */ -#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ +/* FIXME: This file needs careful review. */ + #include <freebsd/machine/rtems-bsd-config.h> +#include <rtems/score/threaddispatch.h> + #include <freebsd/sys/types.h> #include <freebsd/sys/systm.h> #include <freebsd/sys/malloc.h> |