diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 15:05:02 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-04-04 15:05:02 -0500 |
commit | 5d21d7a2ffd43a2b93219be8e83827144781c8e9 (patch) | |
tree | 95c8c87ef9b347110d109265712c9a9b37974aa4 | |
parent | Added _bsd_realloc method. (diff) | |
download | rtems-libbsd-5d21d7a2ffd43a2b93219be8e83827144781c8e9.tar.bz2 |
rtems-bsd-sync.c: Add __RTEMS_VIOLATE_KERNEL_VISIBILITY__
-rw-r--r-- | rtemsbsd/src/rtems-bsd-synch.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsbsd/src/rtems-bsd-synch.c b/rtemsbsd/src/rtems-bsd-synch.c index eaf62c63..1f8beda7 100644 --- a/rtemsbsd/src/rtems-bsd-synch.c +++ b/rtemsbsd/src/rtems-bsd-synch.c @@ -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> |