summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-19 11:38:45 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-19 14:21:05 +0100
commit806fe963a299ab2b59a7735dcd8a52bc9d5f8666 (patch)
tree9028f5f5677c9fbc07048eec237c1004829d3e66 /cpukit/include/rtems/confdefs.h
parentlibmisc/top: Fix the idle time and priorities on SMP (diff)
downloadrtems-806fe963a299ab2b59a7735dcd8a52bc9d5f8666.tar.bz2
config: Improve EDF SMP scheduler configuration
Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler context. This avoids hard to debug configuration errors resulting in memory corruptions. Close #3815.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r--cpukit/include/rtems/confdefs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h
index b98dffb4c8..76e2167e01 100644
--- a/cpukit/include/rtems/confdefs.h
+++ b/cpukit/include/rtems/confdefs.h
@@ -916,8 +916,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#if !defined(CONFIGURE_SCHEDULER_TABLE_ENTRIES)
/** Configure the context needed by the scheduler instance */
- #define CONFIGURE_SCHEDULER \
- RTEMS_SCHEDULER_EDF_SMP(dflt, _CONFIGURE_MAXIMUM_PROCESSORS)
+ #define CONFIGURE_SCHEDULER RTEMS_SCHEDULER_EDF_SMP(dflt)
/** Configure the controls for this scheduler instance */
#define CONFIGURE_SCHEDULER_TABLE_ENTRIES \