From 359a3a36ca9bf82054fe6a83bd97868c310e5aae Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 22 Nov 2018 06:38:42 +0100 Subject: 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. --- cpukit/score/src/objectallocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/objectallocate.c') 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--; -- cgit v1.2.3