summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 17:21:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-01-20 17:21:34 +0000
commit25bcb1ddb612da3649838f6d7899d0bbd6ea9115 (patch)
tree7f84454c05ff01bcd29c339c806b993b18f52240
parent2005-01-20 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-25bcb1ddb612da3649838f6d7899d0bbd6ea9115.tar.bz2
2005-01-20 Joel Sherrill <joel@OARcorp.com>
PR 740/rtems * score/src/heapgetfreeinfo.c: Return size of largest not of last block.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/src/heapgetfreeinfo.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 533d565d88..b43bb7d851 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-20 Joel Sherrill <joel@OARcorp.com>
+
+ PR 740/rtems
+ * score/src/heapgetfreeinfo.c: Return size of largest not of last block.
+
2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/fat.c (fat_init_volume_info): Reflect
diff --git a/cpukit/score/src/heapgetfreeinfo.c b/cpukit/score/src/heapgetfreeinfo.c
index 8f7fddb059..910eda838f 100644
--- a/cpukit/score/src/heapgetfreeinfo.c
+++ b/cpukit/score/src/heapgetfreeinfo.c
@@ -49,7 +49,6 @@ void _Heap_Get_free_information(
return;
info->number++;
- info->largest = 0;
info->total += the_block->front_flag;
if ( the_block->front_flag >= info->largest )