From ba46b9368eaf57e8c2361c215ceb0d6335ce80fe Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Feb 2020 14:04:21 +0100 Subject: config: Add _SMP_Is_enabled Move the is SMP enabled configuration constant out of the configuration table. Since this was the last configuration constant in rtems_configuration_table, remove this type. Update #3875. --- cpukit/include/rtems/confdefs.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'cpukit/include/rtems/confdefs.h') diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index f8a4eb23cf..3741c9a706 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -2633,20 +2633,14 @@ struct _reent *__getreent(void) #error "CONFIGURE_TASK_STACK_ALLOCATOR and CONFIGURE_TASK_STACK_DEALLOCATOR must be both defined or both undefined" #endif - /** - * This is the primary Configuration Table for this application. - */ - const rtems_configuration_table Configuration = { - #ifdef RTEMS_SMP + #ifdef RTEMS_SMP + const bool _SMP_Is_enabled = #ifdef _CONFIGURE_SMP_APPLICATION - true + true; #else - false + false; #endif - #endif - }; - #ifdef RTEMS_SMP const uint32_t _SMP_Processor_configured_maximum = _CONFIGURE_MAXIMUM_PROCESSORS; #endif -- cgit v1.2.3