summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/corebarrier.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/corebarrier.c')
-rw-r--r--cpukit/score/src/corebarrier.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/score/src/corebarrier.c b/cpukit/score/src/corebarrier.c
index c9c9b04ed5..edb37d7087 100644
--- a/cpukit/score/src/corebarrier.c
+++ b/cpukit/score/src/corebarrier.c
@@ -23,13 +23,12 @@
#include <rtems/score/corebarrierimpl.h>
void _CORE_barrier_Initialize(
- CORE_barrier_Control *the_barrier,
- CORE_barrier_Attributes *the_barrier_attributes
+ CORE_barrier_Control *the_barrier,
+ uint32_t maximum_count
)
{
-
- the_barrier->Attributes = *the_barrier_attributes;
the_barrier->number_of_waiting_threads = 0;
+ the_barrier->maximum_count = maximum_count;
_Thread_queue_Object_initialize( &the_barrier->Wait_queue );
}