From 5618c37a7a49b7ddde7bb6f7fda8c10616779c05 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jul 2013 15:14:48 +0200 Subject: score: Create thread implementation header Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files. --- cpukit/score/src/thread.c | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'cpukit/score/src/thread.c') diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index 391ea52665..9d2301b156 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -18,26 +18,11 @@ #include "config.h" #endif -#include -#include -#include -#include +#include #include -#include -#include -#include -#include -#include #include -#include -#include -#include #include -#if defined(RTEMS_SMP) - #include -#endif - void _Thread_Handler_initialization(void) { uint32_t ticks_per_timeslice = @@ -83,11 +68,7 @@ void _Thread_Handler_initialization(void) * per CPU in an SMP system. In addition, if this is a loosely * coupled multiprocessing system, account for the MPCI Server Thread. */ - #if defined(RTEMS_SMP) - maximum_internal_threads = rtems_configuration_get_maximum_processors(); - #else - maximum_internal_threads = 1; - #endif + maximum_internal_threads = rtems_configuration_get_maximum_processors(); #if defined(RTEMS_MULTIPROCESSING) if ( _System_state_Is_multiprocessing ) -- cgit v1.2.3