]> 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>
Thu, 13 Sep 2012 00:58:46 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:45:54 +0000 (20:45 +1000)
commit2d47f2902aa9e170a84f814839e57e60531b85d1
treeed9808b983994eff830f917d7070748f70200c40
parente2656a26c87a638ad7e0affaee8574fbc037a249
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