]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rbtree: move some implementation details from rbtree.h to rbtree.c
authorMichel Lespinasse <walken@google.com>
Tue, 14 Aug 2012 03:22:40 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Sep 2012 05:08:32 +0000 (15:08 +1000)
commitba441dad9850237e239a04b4963e9be2cb995bf1
tree4067ac3a9e07c27c34d886fc19b4227d39e842ed
parent52d776927c75c1b8c3abcbc0fe13d191a51ed6a3
rbtree: move some implementation details from rbtree.h to rbtree.c

rbtree users must use the documented APIs to manipulate the tree
structure.  Low-level helpers to manipulate node colors and parenthood are
not part of that API, so move them to lib/rbtree.c

Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Daniel Santos <daniel.santos@pobox.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/rbtree.h
lib/rbtree.c