[rtems commit] confdefs.h: Simplify

Sebastian Huber sebh at rtems.org
Fri Feb 3 09:57:39 UTC 2017


Module:    rtems
Branch:    master
Commit:    d4ff66e423077596ee397663728cf389ff0e7451
Changeset: http://git.rtems.org/rtems/commit/?id=d4ff66e423077596ee397663728cf389ff0e7451

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Feb  3 08:43:56 2017 +0100

confdefs.h: Simplify

---

 cpukit/sapi/include/confdefs.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index adccc72..f8d47fa 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -214,11 +214,9 @@ 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
+#if defined(RTEMS_SMP) && 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