[PATCH] Disable defining _CONFIGURE_SMP_APPLICATION if RTEMS_SMP is not defined

Kevin Kirspel kevin-kirspel at idexx.com
Thu Feb 2 22:22:23 UTC 2017


---
 cpukit/sapi/include/confdefs.h | 2 ++
 1 file changed, 2 insertions(+)
 mode change 100644 => 100755 cpukit/sapi/include/confdefs.h

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"
-- 
1.9.1



More information about the devel mailing list