diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 13:39:00 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:39 +0200 |
commit | f05eeb2091803b17f89045a685028e9e403f06eb (patch) | |
tree | 0773deca2b81089746cf1a4e7c8725ab0ab89ca8 /cpukit/score/src/thread.c | |
parent | score: Introduce _Thread_queue_Flush_critical() (diff) | |
download | rtems-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/thread.c')
-rw-r--r-- | cpukit/score/src/thread.c | 16 |
1 files changed, 2 insertions, 14 deletions
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 ); } |