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.
This commit is contained in:
Joel Sherrill
2008-09-08 21:45:29 +00:00
parent 943da2c2b8
commit 464ec0db13
2 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
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,

View File

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