diff options
Diffstat (limited to 'cpukit/score/src/mutex.c')
-rw-r--r-- | cpukit/score/src/mutex.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpukit/score/src/mutex.c b/cpukit/score/src/mutex.c index 5916119f02..2a116c4602 100644 --- a/cpukit/score/src/mutex.c +++ b/cpukit/score/src/mutex.c @@ -20,16 +20,12 @@ #include <errno.h> #include <rtems/score/assert.h> +#include <rtems/score/muteximpl.h> #include <rtems/score/threadimpl.h> -#include <rtems/score/threadqimpl.h> #include <rtems/score/todimpl.h> #define MUTEX_TQ_OPERATIONS &_Thread_queue_Operations_priority_inherit -typedef struct { - Thread_queue_Syslock_queue Queue; -} Mutex_Control; - RTEMS_STATIC_ASSERT( offsetof( Mutex_Control, Queue ) == offsetof( struct _Mutex_Control, _Queue ), @@ -41,11 +37,6 @@ RTEMS_STATIC_ASSERT( MUTEX_CONTROL_SIZE ); -typedef struct { - Mutex_Control Mutex; - unsigned int nest_level; -} Mutex_recursive_Control; - RTEMS_STATIC_ASSERT( offsetof( Mutex_recursive_Control, Mutex ) == offsetof( struct _Mutex_recursive_Control, _Mutex ), |