diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-17 13:32:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-17 13:32:13 +0000 |
commit | 05279b84b4a0f798b43ce1731784b7db577e772f (patch) | |
tree | 4079787381b3993b1f1ea00e4d9083563f8e1252 /cpukit/score/src/threadstackallocate.c | |
parent | 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-05279b84b4a0f798b43ce1731784b7db577e772f.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/score/src/threadstackallocate.c')
-rw-r--r-- | cpukit/score/src/threadstackallocate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/threadstackallocate.c b/cpukit/score/src/threadstackallocate.c index 9df0bb0469..e7247ca82e 100644 --- a/cpukit/score/src/threadstackallocate.c +++ b/cpukit/score/src/threadstackallocate.c @@ -42,10 +42,10 @@ uint32_t _Thread_Stack_Allocate( ) { void *stack_addr = 0; - + if ( !_Stack_Is_enough( stack_size ) ) stack_size = STACK_MINIMUM_SIZE; - + /* * Call ONLY the CPU table stack allocate hook, _or_ the * the RTEMS workspace allocate. This is so the stack free @@ -71,11 +71,11 @@ uint32_t _Thread_Stack_Allocate( stack_size = _Stack_Adjust_size( stack_size ); stack_addr = _Workspace_Allocate( stack_size ); } - + if ( !stack_addr ) stack_size = 0; - + the_thread->Start.stack = stack_addr; - + return stack_size; } |