diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-07 19:29:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-07 19:29:05 +0000 |
commit | 5f4d774ea7b677561671ab6b948804d2a61427c7 (patch) | |
tree | 1a715d954a657f1fe8f64f8049637add3746d8cd /cpukit/score/include/rtems/score | |
parent | Patch rtems-rc-20000707-1-cvs.diff from Ralf Corsepius (diff) | |
download | rtems-5f4d774ea7b677561671ab6b948804d2a61427c7.tar.bz2 |
Moved __RTEMS_APPLICATION__ conditional to include the use of the
static inline routine _CORE_mutex_Seize_interrupt_trylock since
static routines are not included when in an application.
Diffstat (limited to 'cpukit/score/include/rtems/score')
-rw-r--r-- | cpukit/score/include/rtems/score/coremutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h index bf1773a6be..4f8e81a67c 100644 --- a/cpukit/score/include/rtems/score/coremutex.h +++ b/cpukit/score/include/rtems/score/coremutex.h @@ -154,6 +154,7 @@ void _CORE_mutex_Initialize( * a macro that uses two support routines. */ +#ifndef __RTEMS_APPLICATION__ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p @@ -214,7 +215,6 @@ void _CORE_mutex_Flush( unsigned32 status ); -#ifndef __RTEMS_APPLICATION__ #include <rtems/score/coremutex.inl> #endif |