summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/barrier.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-19 13:39:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:39 +0200
commitf05eeb2091803b17f89045a685028e9e403f06eb (patch)
tree0773deca2b81089746cf1a4e7c8725ab0ab89ca8 /cpukit/rtems/src/barrier.c
parentscore: Introduce _Thread_queue_Flush_critical() (diff)
downloadrtems-f05eeb2091803b17f89045a685028e9e403f06eb.tar.bz2
score: Simplify _Objects_Initialize_information()
Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller.
Diffstat (limited to 'cpukit/rtems/src/barrier.c')
-rw-r--r--cpukit/rtems/src/barrier.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/rtems/src/barrier.c b/cpukit/rtems/src/barrier.c
index 6c85f4743e..a2912389e9 100644
--- a/cpukit/rtems/src/barrier.c
+++ b/cpukit/rtems/src/barrier.c
@@ -40,12 +40,8 @@ static void _Barrier_Manager_initialization(void)
/* maximum objects of this class */
sizeof( Barrier_Control ), /* size of this object's control block */
false, /* true if the name is a string */
- RTEMS_MAXIMUM_NAME_LENGTH /* maximum length of an object name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
+ RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
-#endif
);
}