summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rwxr-xr-xcpukit/sapi/include/confdefs.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 239ddd939a..06938b1b50 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -224,8 +224,12 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
* An internal define to indicate that this is an SMP application
* configuration.
*/
-#if defined(RTEMS_SMP) && CONFIGURE_MAXIMUM_PROCESSORS > 1
- #define _CONFIGURE_SMP_APPLICATION
+#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