From f05eeb2091803b17f89045a685028e9e403f06eb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Apr 2016 13:39:00 +0200 Subject: 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. --- cpukit/rtems/src/ratemon.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpukit/rtems/src/ratemon.c') diff --git a/cpukit/rtems/src/ratemon.c b/cpukit/rtems/src/ratemon.c index b0d248f18a..dd3ca29cdd 100644 --- a/cpukit/rtems/src/ratemon.c +++ b/cpukit/rtems/src/ratemon.c @@ -37,12 +37,8 @@ static void _Rate_monotonic_Manager_initialization(void) /* maximum objects of this class */ sizeof( Rate_monotonic_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 ); } -- cgit v1.2.3