diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/score/include/rtems/score/coremutex.h | 7 |
1 files changed, 5 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 db3350dab2..bf1773a6be 100644 --- a/c/src/exec/score/include/rtems/score/coremutex.h +++ b/c/src/exec/score/include/rtems/score/coremutex.h @@ -161,7 +161,6 @@ RTEMS_INLINE_ROUTINE int _CORE_mutex_Seize_interrupt_trylock( void _CORE_mutex_Seize_interrupt_blocking( CORE_mutex_Control *the_mutex, - boolean wait, Watchdog_Interval timeout ); @@ -179,7 +178,7 @@ void _CORE_mutex_Seize_interrupt_blocking( _Thread_Executing->Wait.id = _id; \ _Thread_Disable_dispatch(); \ _ISR_Enable( _level ); \ - _CORE_mutex_Seize_interrupt_blocking( _the_mutex, _id, _timeout ); \ + _CORE_mutex_Seize_interrupt_blocking( _the_mutex, _timeout ); \ } \ } \ } while (0) @@ -215,6 +214,10 @@ void _CORE_mutex_Flush( unsigned32 status ); +#ifndef __RTEMS_APPLICATION__ +#include <rtems/score/coremutex.inl> +#endif + #ifdef __cplusplus } #endif |