rtems-bsd-sync.c: Add __RTEMS_VIOLATE_KERNEL_VISIBILITY__

This commit is contained in:
Joel Sherrill
2012-04-04 15:05:02 -05:00
parent 1747b0c8e1
commit 5d21d7a2ff

View File

@@ -20,6 +20,13 @@
* http://www.rtems.com/license/LICENSE.
*/
/*
* 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__
#include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/score/states.h>
#include <rtems/score/thread.h>