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 | |
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.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/inline/rtems/score/heap.inl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index d4de5f80b0..0ea66a2762 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-03-06 Joel Sherrill <joel.sherrill@oarcorp.com> + + * score/inline/rtems/score/heap.inl: Use the correct fields and do end + - begin. + 2009-03-05 Sebastian Huber <sebastian.huber@embedded-brains.de> * libcsupport/src/malloc_initialize.c: Fixed invalid function 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; } /**@}*/ |