forked from Imagelibrary/rtems
confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined
This commit is contained in:
committed by
Joel Sherrill
parent
6dd96afce9
commit
f9db6fd63d
2
cpukit/sapi/include/confdefs.h
Normal file → Executable file
2
cpukit/sapi/include/confdefs.h
Normal file → Executable file
@@ -214,9 +214,11 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
|||||||
* An internal define to indicate that this is an SMP application
|
* An internal define to indicate that this is an SMP application
|
||||||
* configuration.
|
* configuration.
|
||||||
*/
|
*/
|
||||||
|
#if defined(RTEMS_SMP)
|
||||||
#if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1
|
#if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1
|
||||||
#define _CONFIGURE_SMP_APPLICATION
|
#define _CONFIGURE_SMP_APPLICATION
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIGURE_SMP_APPLICATION
|
#ifdef CONFIGURE_SMP_APPLICATION
|
||||||
#warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 4.12"
|
#warning "CONFIGURE_SMP_APPLICATION is obsolete since RTEMS 4.12"
|
||||||
|
|||||||
Reference in New Issue
Block a user