summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-13 13:37:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-05-16 11:44:12 +0200
commit6c2eedc7dd86898dceb9bbbe96b02d94cb468e01 (patch)
tree59237dda2a2eab59ceb8cc209a45d8c3b635ce09 /cpukit/sapi/include/confdefs.h
parentfstests/fsstatvfs: Fix end of test message (diff)
downloadrtems-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/sapi/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index c15c8a385c..2bd1444c18 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2360,22 +2360,15 @@ const rtems_libio_helper rtems_fs_init_helper =
#if defined(RTEMS_MULTIPROCESSING)
CONFIGURE_MULTIPROCESSING_TABLE, /* pointer to MP config table */
#endif
+ #ifdef RTEMS_SMP
+ CONFIGURE_SMP_MAXIMUM_PROCESSORS
+ #endif
};
#endif
#endif /* CONFIGURE_HAS_OWN_CONFIGURATION_TABLE */
#if defined(RTEMS_SMP)
- /**
- * Instantiate the variable which specifies the number of CPUs
- * in an SMP configuration.
- */
- #if defined(CONFIGURE_INIT)
- uint32_t rtems_configuration_smp_maximum_processors = \
- CONFIGURE_SMP_MAXIMUM_PROCESSORS;
- #else
- extern uint32_t rtems_configuration_smp_maximum_processors;
- #endif
/*
* Instantiate the Per CPU information based upon the user configuration.
*/