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/rtems | |
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/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/smp.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/smp.h b/cpukit/rtems/include/rtems/rtems/smp.h index e62084ce86..1b0618ef4a 100644 --- a/cpukit/rtems/include/rtems/rtems/smp.h +++ b/cpukit/rtems/include/rtems/rtems/smp.h @@ -36,8 +36,6 @@ extern "C" { */ /**@{*/ -extern uint32_t rtems_configuration_smp_maximum_processors; - /** * @brief Obtain Number of Cores in System * @@ -51,18 +49,6 @@ extern uint32_t rtems_configuration_smp_maximum_processors; (_SMP_Processor_count) /** - * @brief Obtain Maximum Cores Configured - * - * This method returns the number of CPU cores that were configured - * in the system. The actual number of cores will always be less than - * or equal to the number of maximum number of cores which were configured. - * - * @retval This method returns the number of cores configured. - */ -#define rtems_configuration_get_smp_maximum_processors() \ - (rtems_configuration_smp_maximum_processors) - -/** * @brief Obtain Current Core Number * * This method returns the id of the current CPU core. |