[rtems commit] sptests/spedfsched02: Reduce stack space usage to fix on smaller targets

Joel Sherril joel at rtems.org
Tue Mar 24 13:18:11 UTC 2015


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Mar 20 10:49:06 2015 -0500

sptests/spedfsched02: Reduce stack space usage to fix on smaller targets

---

 testsuites/sptests/spedfsched02/init.c   | 2 +-
 testsuites/sptests/spedfsched02/system.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/testsuites/sptests/spedfsched02/init.c b/testsuites/sptests/spedfsched02/init.c
index d112410..aa2798c 100644
--- a/testsuites/sptests/spedfsched02/init.c
+++ b/testsuites/sptests/spedfsched02/init.c
@@ -52,7 +52,7 @@ rtems_task Init(
     status = rtems_task_create(
       Task_name[ index ],
       Priorities[ index ],
-      RTEMS_MINIMUM_STACK_SIZE * 4,
+      RTEMS_MINIMUM_STACK_SIZE,
       RTEMS_DEFAULT_MODES,
       RTEMS_DEFAULT_ATTRIBUTES,
       &Task_id[ index ]
diff --git a/testsuites/sptests/spedfsched02/system.h b/testsuites/sptests/spedfsched02/system.h
index 3ffcf82..c92a398 100644
--- a/testsuites/sptests/spedfsched02/system.h
+++ b/testsuites/sptests/spedfsched02/system.h
@@ -47,8 +47,6 @@ void Get_all_counters( void );
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
-#define CONFIGURE_EXTRA_TASK_STACKS         (6 * 4 * RTEMS_MINIMUM_STACK_SIZE)
-
 #define CONFIGURE_SCHEDULER_EDF
 
 #include <rtems/confdefs.h>



More information about the vc mailing list