From 6c2eedc7dd86898dceb9bbbe96b02d94cb468e01 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 13 May 2013 13:37:06 +0200 Subject: smp: Add maximum_processors field to config Delete rtems_configuration_get_smp_maximum_processors(). Delete rtems_configuration_smp_maximum_processors variable. Add maximum_processors field to rtems_configuration_table if RTEMS_SMP is defined. Add rtems_configuration_get_maximum_processors(). --- cpukit/score/src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/thread.c') diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index b266d6ec82..391ea52665 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -84,7 +84,7 @@ void _Thread_Handler_initialization(void) * coupled multiprocessing system, account for the MPCI Server Thread. */ #if defined(RTEMS_SMP) - maximum_internal_threads = rtems_configuration_smp_maximum_processors; + maximum_internal_threads = rtems_configuration_get_maximum_processors(); #else maximum_internal_threads = 1; #endif -- cgit v1.2.3