summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/wkspace.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-30 14:54:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-05-05 08:26:27 +0200
commitbee71f8e97739cfb2b272cbf5c4822c634b7cac7 (patch)
treed6774883a5e1ce3ba3daa255fbcf124c0e5fc364 /cpukit/score/src/wkspace.c
parenttestsuite: Add a per BSP test check for tests not to build. (diff)
downloadrtems-bee71f8e97739cfb2b272cbf5c4822c634b7cac7.tar.bz2
score: Fix TLS size usage
Diffstat (limited to 'cpukit/score/src/wkspace.c')
-rw-r--r--cpukit/score/src/wkspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/wkspace.c b/cpukit/score/src/wkspace.c
index 20e2563287..1dda9f124c 100644
--- a/cpukit/score/src/wkspace.c
+++ b/cpukit/score/src/wkspace.c
@@ -63,7 +63,7 @@ void _Workspace_Handler_initialization(
bool unified = rtems_configuration_get_unified_work_area();
uintptr_t page_size = CPU_HEAP_ALIGNMENT;
uintptr_t overhead = _Heap_Area_overhead( page_size );
- uintptr_t tls_size = (uintptr_t) _TLS_Size;
+ uintptr_t tls_size = _TLS_Get_size();
size_t i;
if ( tls_size > 0 ) {