summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/heap.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-18 12:43:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-22 16:45:59 +0200
commit02f73d487eb585255795be492e148a306fcf8e77 (patch)
tree60a0ea063bf4444b5993047463988f7eb3d76135 /cpukit/score/src/heap.c
parenttestsuites: Include missing header files (diff)
downloadrtems-02f73d487eb585255795be492e148a306fcf8e77.tar.bz2
score: Use _Thread_Get_executing()
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r--cpukit/score/src/heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c
index 30779ebfed..89dcd34fa6 100644
--- a/cpukit/score/src/heap.c
+++ b/cpukit/score/src/heap.c
@@ -132,7 +132,7 @@ static uint32_t instance = 0;
block->Protection_begin.protector [0] = HEAP_BEGIN_PROTECTOR_0;
block->Protection_begin.protector [1] = HEAP_BEGIN_PROTECTOR_1;
block->Protection_begin.next_delayed_free_block = NULL;
- block->Protection_begin.task = _Thread_Executing;
+ block->Protection_begin.task = _Thread_Get_executing();
block->Protection_begin.tag = NULL;
block->Protection_end.protector [0] = HEAP_END_PROTECTOR_0;
block->Protection_end.protector [1] = HEAP_END_PROTECTOR_1;