diff options
author | Gedare Bloom <gedare@rtems.org> | 2012-05-02 12:10:34 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2012-05-08 18:40:44 -0400 |
commit | 857275285faaef96a52cf499e3be0906994dfe59 (patch) | |
tree | 4801331c1a5760a3c18fcb45ad44ef55449ebdf3 /cpukit/score/src/rbtree.c | |
parent | score/rbtree: replace _RBTree_Peek_unprotected with _RBTree_First. (diff) | |
download | rtems-857275285faaef96a52cf499e3be0906994dfe59.tar.bz2 |
rbtree: API Changes
Make default for rtems_rbtree functions be unprotected (preemption enabled)
unless an unprotected variant e.g. rtems_rbtree_xxx_unprotected is available.
Diffstat (limited to 'cpukit/score/src/rbtree.c')
-rw-r--r-- | cpukit/score/src/rbtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/rbtree.c b/cpukit/score/src/rbtree.c index e0fc560229..387e66b409 100644 --- a/cpukit/score/src/rbtree.c +++ b/cpukit/score/src/rbtree.c @@ -52,7 +52,7 @@ void _RBTree_Initialize( count = number_nodes; next = starting_address; while ( count-- ) { - _RBTree_Insert(the_rbtree, next); + _RBTree_Insert_unprotected(the_rbtree, next); next = (RBTree_Node *) _Addresses_Add_offset( (void *) next, node_size ); } |