diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-06 20:01:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-06 20:01:23 +0000 |
commit | e6faa6ac76c5345cbdf3c7f5a9679b13b4184c1f (patch) | |
tree | 513d54d90aa6317e16fea02e248a0b18faa05e18 /c/src | |
parent | Modfied to execute faster and have fewer instructions. (diff) | |
download | rtems-e6faa6ac76c5345cbdf3c7f5a9679b13b4184c1f.tar.bz2 |
Corrected call to _CORE_mutex_Seize_interrupt_blocking.
Diffstat (limited to 'c/src')
-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 |