diff options
Diffstat (limited to 'cpukit/rtems/src/semobtain.c')
-rw-r--r-- | cpukit/rtems/src/semobtain.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/rtems/src/semobtain.c b/cpukit/rtems/src/semobtain.c index db0c3f2e0c..2f73166df0 100644 --- a/cpukit/rtems/src/semobtain.c +++ b/cpukit/rtems/src/semobtain.c @@ -24,23 +24,27 @@ THREAD_QUEUE_OBJECT_ASSERT( Semaphore_Control, - Core_control.Wait_queue + Core_control.Wait_queue, + SEMAPHORE_CONTROL_GENERIC ); THREAD_QUEUE_OBJECT_ASSERT( Semaphore_Control, - Core_control.Mutex.Recursive.Mutex.Wait_queue + Core_control.Mutex.Recursive.Mutex.Wait_queue, + SEMAPHORE_CONTROL_MUTEX ); THREAD_QUEUE_OBJECT_ASSERT( Semaphore_Control, - Core_control.Semaphore.Wait_queue + Core_control.Semaphore.Wait_queue, + SEMAPHORE_CONTROL_SEMAPHORE ); #if defined(RTEMS_SMP) THREAD_QUEUE_OBJECT_ASSERT( Semaphore_Control, - Core_control.MRSP.Wait_queue + Core_control.MRSP.Wait_queue, + SEMAPHORE_CONTROL_MRSP ); #endif |