diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-06 20:08:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-03-06 20:08:20 +0000 |
commit | 17175bbd3d46a497026833ecd170fffbd9992422 (patch) | |
tree | 4afcf4f2685ef1d444062a6ac53b98b0fd9b6ea8 /cpukit/score/inline/rtems/score/heap.inl | |
parent | With Till, Joel and Eric all trying to fix this file things seem (diff) | |
download | rtems-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.inl | 2 |
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; } /**@}*/ |