[PATCH] RTEMS thread model configuration

2014-07-26 Thread Sebastian Huber
The command line to build a GCC for RTEMS contained virtually always a '--enable-threads'. This patch helps to avoid this extra configuration command line parameter and makes the GCC build a bit more user friendly for RTEMS. This patch should be applied to GCC 4.9 branch and master. 2014-04-18

[PATCH 1/2] rbtree: Simplify off-tree handling

2014-07-26 Thread Sebastian Huber
Only use the parent pointer, since this pointer is never NULL for nodes which are part of a tree. Rename functions from *_off_rbtree() to *_off_tree(). --- cpukit/sapi/include/rtems/rbtree.h| 8 +++ cpukit/score/include/rtems/score/rbtree.h | 37 +-- tests

[PATCH 2/2] rbtree: Rename find header in find control

2014-07-26 Thread Sebastian Huber
Simplify _RBTree_Find_control(). Avoid superfluous NULL pointer checks. --- cpukit/sapi/include/rtems/rbtree.h | 8 cpukit/score/include/rtems/score/rbtree.h| 29 ++-- testsuites/sptests/sprbtree01/init.c | 9 ++--- testsuites/sptests/s