From c7f748a100c6a92a24e726cbe1b039d04db02f32 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 15 Feb 2020 12:07:28 +0100 Subject: config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATION The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876. --- cpukit/include/rtems/confdefs.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'cpukit/include/rtems/confdefs.h') diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 0fc2d0e5a6..fa19be0184 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -161,18 +161,6 @@ extern "C" { #define _CONFIGURE_MAXIMUM_PROCESSORS 1 #endif -/* - * An internal define to indicate that this is an SMP application - * configuration. - */ -#ifdef RTEMS_SMP - #if !defined(CONFIGURE_DISABLE_SMP_CONFIGURATION) - #define _CONFIGURE_SMP_APPLICATION - #elif _CONFIGURE_MAXIMUM_PROCESSORS > 1 - #error "CONFIGURE_DISABLE_SMP_CONFIGURATION and CONFIGURE_MAXIMUM_PROCESSORS > 1 makes no sense" - #endif -#endif - #ifdef CONFIGURE_SMP_APPLICATION #warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 5.1" #endif @@ -2621,13 +2609,6 @@ struct _reent *__getreent(void) #endif #ifdef RTEMS_SMP - const bool _SMP_Is_enabled = - #ifdef _CONFIGURE_SMP_APPLICATION - true; - #else - false; - #endif - const uint32_t _SMP_Processor_configured_maximum = _CONFIGURE_MAXIMUM_PROCESSORS; #endif -- cgit v1.2.3