diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-12 10:15:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-13 07:19:21 +0100 |
commit | 2b72162b81b33a9f5983feccadd8426a1ab6f950 (patch) | |
tree | 8062fa245235d389599ef503e5b25ec3494ace8c /cpukit/score/src/mutex.c | |
parent | score: Add and use _Objects_Name_to_string() (diff) | |
download | rtems-2b72162b81b33a9f5983feccadd8426a1ab6f950.tar.bz2 |
score: Add Thread_queue_Queue::name
Update #2858.
Diffstat (limited to 'cpukit/score/src/mutex.c')
-rw-r--r-- | cpukit/score/src/mutex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/mutex.c b/cpukit/score/src/mutex.c index ebdedf773d..96834bfb36 100644 --- a/cpukit/score/src/mutex.c +++ b/cpukit/score/src/mutex.c @@ -39,7 +39,7 @@ RTEMS_STATIC_ASSERT( ); RTEMS_STATIC_ASSERT( - sizeof( Mutex_Control ) <= sizeof( struct _Mutex_Control ), + sizeof( Mutex_Control ) == sizeof( struct _Mutex_Control ), MUTEX_CONTROL_SIZE ); @@ -50,19 +50,19 @@ typedef struct { RTEMS_STATIC_ASSERT( offsetof( Mutex_recursive_Control, Mutex ) - <= offsetof( struct _Mutex_recursive_Control, _Mutex ), + == offsetof( struct _Mutex_recursive_Control, _Mutex ), MUTEX_RECURSIVE_CONTROL_MUTEX ); RTEMS_STATIC_ASSERT( offsetof( Mutex_recursive_Control, nest_level ) - <= offsetof( struct _Mutex_recursive_Control, _nest_level ), + == offsetof( struct _Mutex_recursive_Control, _nest_level ), MUTEX_RECURSIVE_CONTROL_NEST_LEVEL ); RTEMS_STATIC_ASSERT( sizeof( Mutex_recursive_Control ) - <= sizeof( struct _Mutex_recursive_Control ), + == sizeof( struct _Mutex_recursive_Control ), MUTEX_RECURSIVE_CONTROL_SIZE ); |