summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Kirspel <kevin-kirspel@idexx.com>2017-02-02 16:44:31 -0600
committerJoel Sherrill <joel@rtems.org>2017-02-02 16:44:31 -0600
commitf9db6fd63d1862bd7e41ad01a0d3da178e19111c (patch)
treee9b3404c779c97ccc8038d93bb8d3e588f5bb12f
parentrtems: Fix RTEMS_NO_TIMEOUT define (diff)
downloadrtems-f9db6fd63d1862bd7e41ad01a0d3da178e19111c.tar.bz2
confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined
-rwxr-xr-x[-rw-r--r--]cpukit/sapi/include/confdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index c931fda50f..adccc72864 100644..100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -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"