[rtems commit] confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined
Joel Sherrill
joel at rtems.org
Thu Feb 2 22:45:08 UTC 2017
Module: rtems
Branch: master
Commit: f9db6fd63d1862bd7e41ad01a0d3da178e19111c
Changeset: http://git.rtems.org/rtems/commit/?id=f9db6fd63d1862bd7e41ad01a0d3da178e19111c
Author: Kevin Kirspel <kevin-kirspel at idexx.com>
Date: Thu Feb 2 16:44:31 2017 -0600
confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined
---
cpukit/sapi/include/confdefs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
old mode 100644
new mode 100755
index c931fda..adccc72
--- 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"
More information about the vc
mailing list