[PATCH 08/23] sapi: Use rtems_config*_get_idle_task_stack_size

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 6 12:56:30 UTC 2012


---
 cpukit/score/src/threadcreateidle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c
index 768a985..3e7c84d 100644
--- a/cpukit/score/src/threadcreateidle.c
+++ b/cpukit/score/src/threadcreateidle.c
@@ -60,7 +60,7 @@ static inline void _Thread_Create_idle_helper(
     &_Thread_Internal_information,
     idle,
     NULL,        /* allocate the stack */
-    _Stack_Ensure_minimum( Configuration.idle_task_stack_size ),
+    _Stack_Ensure_minimum( rtems_configuration_get_idle_task_stack_size() ),
     CPU_IDLE_TASK_IS_FP,
     PRIORITY_MAXIMUM,
     true,        /* preemptable */
-- 
1.7.7




More information about the devel mailing list