summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/apimutex.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/score/src/apimutex.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/score/src/apimutex.c')
-rw-r--r--cpukit/score/src/apimutex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/score/src/apimutex.c b/cpukit/score/src/apimutex.c
index 1ac505220a..a098edbd61 100644
--- a/cpukit/score/src/apimutex.c
+++ b/cpukit/score/src/apimutex.c
@@ -36,12 +36,8 @@ void _API_Mutex_Initialization(
maximum_mutexes, /* maximum objects of this class */
sizeof( API_Mutex_Control ), /* size of this object's control block */
false, /* true if the name is a string */
- 0 /* maximum length of an object name */
-#if defined(RTEMS_MULTIPROCESSING)
- ,
- false, /* true if this is a global object class */
+ 0, /* maximum length of an object name */
NULL /* Proxy extraction support callout */
-#endif
);
}