[rtems-libbsd commit] Update due to API changes
Sebastian Huber
sebh at rtems.org
Wed Dec 4 12:37:36 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: 3e101be4762b93868e3d35aa88e82f6b40977e73
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=3e101be4762b93868e3d35aa88e82f6b40977e73
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Dec 2 15:33:06 2013 +0100
Update due to API changes
---
rtemsbsd/rtems/rtems-bsd-chunk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/rtemsbsd/rtems/rtems-bsd-chunk.c b/rtemsbsd/rtems/rtems-bsd-chunk.c
index 2e64d87..f00ae3c 100644
--- a/rtemsbsd/rtems/rtems-bsd-chunk.c
+++ b/rtemsbsd/rtems/rtems-bsd-chunk.c
@@ -87,7 +87,7 @@ rtems_bsd_chunk_alloc(rtems_bsd_chunk_control *self, uintptr_t chunk_size)
(*self->info_ctor)(self, info);
_RTEMS_Lock_allocator();
- rtems_rbtree_insert_unprotected(&self->chunks, &info->node);
+ rtems_rbtree_insert(&self->chunks, &info->node);
_RTEMS_Unlock_allocator();
}
@@ -102,7 +102,7 @@ rtems_bsd_chunk_free(rtems_bsd_chunk_control *self,
some_addr_in_chunk);
_RTEMS_Lock_allocator();
- rtems_rbtree_extract_unprotected(&self->chunks, &info->node);
+ rtems_rbtree_extract(&self->chunks, &info->node);
_RTEMS_Unlock_allocator();
(*self->info_dtor)(self, info);
@@ -118,7 +118,7 @@ rtems_bsd_chunk_get_info(rtems_bsd_chunk_control *self,
.begin = (uintptr_t) some_addr_in_chunk
};
- return chunk_of_node(rtems_rbtree_find_unprotected(&self->chunks,
+ return chunk_of_node(rtems_rbtree_find(&self->chunks,
&find_me.node));
}
More information about the vc
mailing list