summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 21:45:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 21:45:29 +0000
commit464ec0db13f24c1966f24aabaff940fea157278d (patch)
treedead228aa60310cbe96ac6bc5b47a1c3dab7a64e /cpukit
parent2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-464ec0db13f24c1966f24aabaff940fea157278d.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called here and in _Thread_Stack_Allocate.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/src/threadinitialize.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 40b8b7ce6b..477dc2398c 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
+ here and in _Thread_Stack_Allocate.
+
+2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c,
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index b86a2f9006..596fe365a0 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -78,9 +78,7 @@ bool _Thread_Initialize(
if ( !stack_area ) {
- actual_stack_size = _Stack_Ensure_minimum( stack_size );
-
- actual_stack_size = _Thread_Stack_Allocate( the_thread, actual_stack_size );
+ actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
if ( !actual_stack_size || actual_stack_size < stack_size )
return FALSE; /* stack allocation failed */