diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-08 21:45:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-08 21:45:29 +0000 |
commit | 464ec0db13f24c1966f24aabaff940fea157278d (patch) | |
tree | dead228aa60310cbe96ac6bc5b47a1c3dab7a64e /cpukit/score/src/threadinitialize.c | |
parent | 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 */ |