summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-09 17:42:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-09 17:42:20 +0000
commitd81bfed2af40c55037060651bd1d29f109736429 (patch)
tree24e8fca63521bab40c8ec68a1a49a800383238f0 /cpukit
parent2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-d81bfed2af40c55037060651bd1d29f109736429.tar.bz2
2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heapresizeblock.c: Remove printk's that were accidentally committed.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/score/src/heapresizeblock.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 5bb9773b19..12ebfc3a24 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-09 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * score/src/heapresizeblock.c: Remove printk's that were accidentally
+ committed.
+
2009-08-09 Xi Yang <hiyangxi@gmail.com>
* libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
diff --git a/cpukit/score/src/heapresizeblock.c b/cpukit/score/src/heapresizeblock.c
index 0c82b0e1d2..c744d4ff88 100644
--- a/cpukit/score/src/heapresizeblock.c
+++ b/cpukit/score/src/heapresizeblock.c
@@ -117,7 +117,6 @@ Heap_Resize_status _Heap_Resize_block(
uint32_t free_block_size = old_user_size - size;
_Heap_Align_down(&free_block_size, page_size);
-printk( "free=%d\n", free_block_size );
if (free_block_size > 0) {
/* To free some memory the block should be shortened so that it can
@@ -126,8 +125,6 @@ printk( "free=%d\n", free_block_size );
uint32_t new_block_size = old_block_size - free_block_size;
-printk( "new=%d min=%d hit=%s\n", new_block_size, min_block_size,
- ((new_block_size < min_block_size) ? "yes" : "no") );
if (new_block_size < min_block_size) {
uint32_t delta = min_block_size - new_block_size;
_HAssert(free_block_size >= delta);
@@ -144,8 +141,6 @@ printk( "new=%d min=%d hit=%s\n", new_block_size, min_block_size,
_HAssert(_Heap_Is_aligned(new_block_size, page_size));
_HAssert(_Heap_Is_aligned(free_block_size, page_size));
-printk( "next_is_used=%d free=%d min=%d hit=%s\n", next_is_used, free_block_size, min_block_size,
- ((next_is_used) && (free_block_size <= min_block_size) ? "yes" : "no") );
if (!next_is_used) {
/* Extend the next block to the low addresses by 'free_block_size' */
Heap_Block *const new_next_block =