diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/threadq.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/src/threadq.c b/cpukit/score/src/threadq.c index b12e3deb49..4885326e52 100644 --- a/cpukit/score/src/threadq.c +++ b/cpukit/score/src/threadq.c @@ -57,8 +57,14 @@ RTEMS_STATIC_ASSERT( ); RTEMS_STATIC_ASSERT( + offsetof( Thread_queue_Syslock_queue, Queue.name ) + == offsetof( struct _Thread_queue_Queue, _name ), + THREAD_QUEUE_SYSLOCK_QUEUE_NAME +); + +RTEMS_STATIC_ASSERT( sizeof( Thread_queue_Syslock_queue ) - <= sizeof( struct _Thread_queue_Queue ), + == sizeof( struct _Thread_queue_Queue ), THREAD_QUEUE_SYSLOCK_QUEUE_SIZE ); |