diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 21:11:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 21:11:04 +0000 |
commit | 8daaa215567c4016b24c8e0c7b019b15b0e907e2 (patch) | |
tree | b973b5f21e377b995fa9e3d01affc422e4506454 /cpukit/score/src/coremutexseizeintr.c | |
parent | 2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8daaa215567c4016b24c8e0c7b019b15b0e907e2.tar.bz2 |
2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/coremutex.h,
score/src/coremutexseizeintr.c: Fix conditional code for inlining
_CORE_mutex_Seize_interrupt_trylock() and add comments.
Diffstat (limited to 'cpukit/score/src/coremutexseizeintr.c')
-rw-r--r-- | cpukit/score/src/coremutexseizeintr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/coremutexseizeintr.c b/cpukit/score/src/coremutexseizeintr.c index f8363cd637..4e4e5c4a07 100644 --- a/cpukit/score/src/coremutexseizeintr.c +++ b/cpukit/score/src/coremutexseizeintr.c @@ -22,6 +22,7 @@ #include <rtems/score/thread.h> #include <rtems/score/threadq.h> +#if defined(__RTEMS_DO_NOT_INLINE_CORE_MUTEX_SEIZE__) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p @@ -29,3 +30,4 @@ int _CORE_mutex_Seize_interrupt_trylock( { return _CORE_mutex_Seize_interrupt_trylock_body( the_mutex, level_p ); } +#endif |