diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-25 14:32:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-26 07:31:09 +0100 |
commit | 27bfcd88f7e65c81b406afa85d81b060e2ea24e3 (patch) | |
tree | 17063cc375987e424335b9003da0c3ffdb7b9947 /cpukit/score/src | |
parent | psxtests: Relax shared memory tests (diff) | |
download | rtems-27bfcd88f7e65c81b406afa85d81b060e2ea24e3.tar.bz2 |
score: Delete _CPU_Context_Fp_start()
Since the FP area pointer is passed by reference in
_CPU_Context_Initialize_fp() the optional FP area adjustment via
_CPU_Context_Fp_start() is superfluous. It is also wrong with respect
to memory management, e.g. pointer passed to _Workspace_Free() may be
not the one returned by _Workspace_Allocate().
Close #1400.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 9ae2acb9a0..5725c6eac8 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -137,7 +137,6 @@ bool _Thread_Initialize( fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE ); if ( !fp_area ) goto failed; - fp_area = _Context_Fp_start( fp_area, 0 ); } the_thread->fp_context = fp_area; the_thread->Start.fp_context = fp_area; |