summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/heap.inl
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-06 20:08:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-03-06 20:08:20 +0000
commit17175bbd3d46a497026833ecd170fffbd9992422 (patch)
tree4afcf4f2685ef1d444062a6ac53b98b0fd9b6ea8 /cpukit/score/inline/rtems/score/heap.inl
parentWith Till, Joel and Eric all trying to fix this file things seem (diff)
downloadrtems-17175bbd3d46a497026833ecd170fffbd9992422.tar.bz2
2009-03-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/inline/rtems/score/heap.inl: Use the correct fields and do end - begin.
Diffstat (limited to '')
-rw-r--r--cpukit/score/inline/rtems/score/heap.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl
index ccff0bacb8..09d6e5b0cd 100644
--- a/cpukit/score/inline/rtems/score/heap.inl
+++ b/cpukit/score/inline/rtems/score/heap.inl
@@ -380,7 +380,7 @@ RTEMS_INLINE_ROUTINE uint32_t _Heap_Get_size (
Heap_Control *the_heap
)
{
- return the_heap->final - the_heap->start;
+ return the_heap->end - the_heap->begin;
}
/**@}*/