summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/src/rtems-bsd-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/src/rtems-bsd-support.c')
-rw-r--r--rtemsbsd/src/rtems-bsd-support.c10
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>