summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadrestart.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-09 10:12:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-02-12 09:08:36 +0100
commitf4dbf37dd432623c345f8e19f78a4eb01fcedb8b (patch)
treecb18eb86ccce8ab3fff22c9c4543ddaf9d93b183 /cpukit/score/src/threadrestart.c
parentscore: Simplify FP context allocation (diff)
downloadrtems-f4dbf37dd432623c345f8e19f78a4eb01fcedb8b.tar.bz2
score: Simplify TLS area allocation
Use the stack area to allocate the TLS area. Update #3835.
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r--cpukit/score/src/threadrestart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index aa47fefd1f..0c6890324c 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -185,8 +185,6 @@ static void _Thread_Free( Thread_Control *the_thread )
*/
_Stack_Free( the_thread->Start.allocated_stack );
- _Workspace_Free( the_thread->Start.tls_area );
-
#if defined(RTEMS_SMP)
_ISR_lock_Destroy( &the_thread->Scheduler.Lock );
_ISR_lock_Destroy( &the_thread->Wait.Lock.Default );