From 6bc63df199f82b90a3ffe471b452f813bf7c7a70 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 12 May 2017 09:53:35 +0200 Subject: 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. --- cpukit/sapi/include/confdefs.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpukit/sapi/include/confdefs.h') 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) -- cgit v1.2.3