]> 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, 22 Aug 2012 06:01:33 +0000 (16:01 +1000)
commitf43ab9968d97057ee66a8e1a52ecaf3abc21fdd7
tree4acd208bc523cf044a76f4d09708a5583c5cdce0
parentc20efde96109be0f65c2b3086af71523a713ea65
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