confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined

This commit is contained in:
Kevin Kirspel
2017-02-02 16:44:31 -06:00
committed by Joel Sherrill
parent 6dd96afce9
commit f9db6fd63d

2
cpukit/sapi/include/confdefs.h Normal file → Executable file
View File

@@ -214,9 +214,11 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
* An internal define to indicate that this is an SMP application
* configuration.
*/
#if defined(RTEMS_SMP)
#if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1
#define _CONFIGURE_SMP_APPLICATION
#endif
#endif
#ifdef CONFIGURE_SMP_APPLICATION
#warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 4.12"