summaryrefslogtreecommitdiffstats
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
parentPatch rtems-rc-20000707-1-cvs.diff from Ralf Corsepius (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.
-rw-r--r--c/src/exec/score/include/rtems/score/coremutex.h2
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/score/include/rtems/score/coremutex.h b/c/src/exec/score/include/rtems/score/coremutex.h
index bf1773a6be..4f8e81a67c 100644
--- a/c/src/exec/score/include/rtems/score/coremutex.h
+++ b/c/src/exec/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
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