diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-22 06:38:42 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-07 14:22:01 +0100 |
commit | 359a3a36ca9bf82054fe6a83bd97868c310e5aae (patch) | |
tree | 431e2a12d7950abe39bc63e55d862232c0a3ce4e /cpukit/score/src/objectallocate.c | |
parent | score: Rename Objects_Information::size (diff) | |
download | rtems-359a3a36ca9bf82054fe6a83bd97868c310e5aae.tar.bz2 |
score: Rename Objects_Information::allocation_size
Rename Objects_Information::allocation_size in
Objects_Information::objects_per_block. Adjust integer types in
_Objects_Shrink_information() and _Objects_Free().
Update #3621.
Diffstat (limited to 'cpukit/score/src/objectallocate.c')
-rw-r--r-- | cpukit/score/src/objectallocate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 97ced4bdf5..81e322757c 100644 --- a/cpukit/score/src/objectallocate.c +++ b/cpukit/score/src/objectallocate.c @@ -72,7 +72,7 @@ Objects_Control *_Objects_Allocate_unprotected( block = (uint32_t) _Objects_Get_index( the_object->id ) - _Objects_Get_index( information->minimum_id ); - block /= information->allocation_size; + block /= information->objects_per_block; information->inactive_per_block[ block ]--; information->inactive--; |