Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46841
b: refs/heads/master
c: 4942bd8
h: refs/heads/master
i:
  46839: 1aa0740
v: v3
  • Loading branch information
Timur Tabi authored and Paul Mackerras committed Feb 7, 2007
1 parent a9980e4 commit ef77be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f3162f0664be49c72c1e6ce4a46848f9d96d790
refs/heads/master: 4942bd80e83d13bf394df4a8109bee39d861820f
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/lib/rheap.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ static int grow(rh_info_t * info, int max_blocks)
info->flags &= ~RHIF_STATIC_BLOCK;

/* add all new blocks to the free list */
for (i = 0, blk = block + info->max_blocks; i < new_blocks; i++, blk++)
blk = block + info->max_blocks - new_blocks;
for (i = 0; i < new_blocks; i++, blk++)
list_add(&blk->list, &info->empty_list);

return 0;
Expand Down

0 comments on commit ef77be1

Please sign in to comment.