[RBTREE] Add accessor macros for colour and parent fields of rb_node
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Apr 2006 12:12:44 +0000 (13:12 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Apr 2006 12:12:44 +0000 (13:12 +0100)
commit7fe1e133bf45b0fe70491ed3d4c5b491feff7aa8
treef21150f65eeaa03fc624c312dfc71d9f912983c2
parentf4ffaa452e71495a06376f12f772342bc57051fc
[RBTREE] Add accessor macros for colour and parent fields of rb_node

This is in preparation for merging those fields into a single
'unsigned long', because using a whole machine-word for a single bit
of colour information is wasteful.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/rbtree.h