summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectallocate.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-10 13:44:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-12-14 06:57:55 +0100
commit8b0e752fee90af946e0e117ca7d46a7df7814d14 (patch)
tree77a60415e91ce3a513e640b69044ab3628cbf6c0 /cpukit/score/src/objectallocate.c
parentpsxhdrs: Changed the Copyright license to BSD-2-Clause . (diff)
downloadrtems-8b0e752fee90af946e0e117ca7d46a7df7814d14.tar.bz2
score: Remove Objects_Information::auto_extend
Use Objects_Information::objects_per_block to provide this information. Add and use _Objects_Is_auto_extend(). Update #3621.
Diffstat (limited to 'cpukit/score/src/objectallocate.c')
-rw-r--r--cpukit/score/src/objectallocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c
index 2f991477da..9213cf8eb7 100644
--- a/cpukit/score/src/objectallocate.c
+++ b/cpukit/score/src/objectallocate.c
@@ -56,7 +56,7 @@ Objects_Control *_Objects_Allocate_unprotected(
*/
the_object = _Objects_Get_inactive( information );
- if ( information->auto_extend ) {
+ if ( _Objects_Is_auto_extend( information ) ) {
/*
* If the list is empty then we are out of objects and need to
* extend information base.