diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-05-12 09:53:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-05-16 09:48:32 +0200 |
commit | 6bc63df199f82b90a3ffe471b452f813bf7c7a70 (patch) | |
tree | 808da9bb2b7142457d397f8b855153ad451851c5 /cpukit/sapi/include/confdefs.h | |
parent | confdefs.h: Fix compile error in non-SMP cfg (diff) | |
download | rtems-6bc63df199f82b90a3ffe471b452f813bf7c7a70.tar.bz2 |
confdefs.h: Add SMP enabled field to configuration
Do not use the processor count to determine if SMP is enabled. Instead
use a dedicated configuration option. Enable SMP by default in SMP
configurations.
Add CONFIGURE_DISABLE_SMP_CONFIGURATION to all test which would fail
otherwise.
Update #3001.
Diffstat (limited to '')
-rwxr-xr-x | cpukit/sapi/include/confdefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 331e747fcc..604539b5e8 100755 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -3320,6 +3320,13 @@ extern rtems_initialization_tasks_table Initialization_tasks[]; #else false, #endif + #ifdef RTEMS_SMP + #ifdef _CONFIGURE_SMP_APPLICATION + true, + #else + false, + #endif + #endif _CONFIGURE_NUMBER_OF_INITIAL_EXTENSIONS, /* number of static extensions */ CONFIGURE_INITIAL_EXTENSION_TABLE, /* pointer to static extensions */ #if defined(RTEMS_MULTIPROCESSING) |