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/score/src/thread.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'cpukit/score/src/thread.c') diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index 68a728c385..83e98cbab2 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -51,10 +51,6 @@ void _Thread_Initialize_information( uint32_t maximum, bool is_string, uint32_t maximum_name_length -#if defined(RTEMS_MULTIPROCESSING) - , - bool supports_global -#endif ) { _Objects_Initialize_information( @@ -64,12 +60,8 @@ void _Thread_Initialize_information( maximum, _Thread_Control_size, is_string, - maximum_name_length - #if defined(RTEMS_MULTIPROCESSING) - , - supports_global, - NULL - #endif + maximum_name_length, + NULL ); _Freechain_Initialize( @@ -116,10 +108,6 @@ void _Thread_Handler_initialization(void) _Thread_Get_maximum_internal_threads(), false, /* true if names for this object are strings */ 8 /* maximum length of each object's name */ - #if defined(RTEMS_MULTIPROCESSING) - , - false /* true if this is a global object class */ - #endif ); } -- cgit v1.2.3