[rtems commit] sapi: Use rtems_config*_get_idle_task_stack_size

Sebastian Huber sebh at rtems.org
Wed Nov 7 14:07:16 UTC 2012


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov  6 11:41:34 2012 +0100

sapi: Use rtems_config*_get_idle_task_stack_size

---

 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 */




More information about the vc mailing list