summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-07 19:29:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-07 19:29:05 +0000
commit5f4d774ea7b677561671ab6b948804d2a61427c7 (patch)
tree1a715d954a657f1fe8f64f8049637add3746d8cd /cpukit/score/include
parent823938fa4c916c468cea859b4ecaf4b190314af8 (diff)
downloadrtems-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')
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h2
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