diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-13 13:37:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-16 11:44:12 +0200 |
commit | 6c2eedc7dd86898dceb9bbbe96b02d94cb468e01 (patch) | |
tree | 59237dda2a2eab59ceb8cc209a45d8c3b635ce09 /cpukit/score/src/thread.c | |
parent | fstests/fsstatvfs: Fix end of test message (diff) | |
download | rtems-6c2eedc7dd86898dceb9bbbe96b02d94cb468e01.tar.bz2 |
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().
Diffstat (limited to 'cpukit/score/src/thread.c')
-rw-r--r-- | cpukit/score/src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |