summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-02-03 08:43:56 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-02-03 08:44:27 +0100
commitd4ff66e423077596ee397663728cf389ff0e7451 (patch)
treec853ad1b3f7293a2e5c4682a546a348b46eb97ad
parentf9db6fd63d1862bd7e41ad01a0d3da178e19111c (diff)
downloadrtems-d4ff66e423077596ee397663728cf389ff0e7451.tar.bz2
confdefs.h: Simplify
-rwxr-xr-xcpukit/sapi/include/confdefs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index adccc72864..f8d47fa46d 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"