diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-07 16:50:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-04-09 15:30:25 +0200 |
commit | 6cf45cbeef58697af3349299f3fd717133eae5ed (patch) | |
tree | 3a33bf77880608b1513c6c1e6e97405125f98b74 /cpukit/score/src/heap.c | |
parent | sptests/sp37: Account for internal struct align (diff) | |
download | rtems-6cf45cbeef58697af3349299f3fd717133eae5ed.tar.bz2 |
score: Fix workspace size estimate for TLS
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r-- | cpukit/score/src/heap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c index 949e963070..1550c4ce1c 100644 --- a/cpukit/score/src/heap.c +++ b/cpukit/score/src/heap.c @@ -228,7 +228,8 @@ uintptr_t _Heap_Initialize( return 0; } } - min_block_size = _Heap_Align_up( sizeof( Heap_Block ), page_size ); + + min_block_size = _Heap_Min_block_size( page_size ); area_ok = _Heap_Get_first_and_last_block( heap_area_begin, |