]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rbtree: add RB_DECLARE_CALLBACKS() macro
authorMichel Lespinasse <walken@google.com>
Wed, 26 Sep 2012 01:33:36 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:22 +0000 (17:26 +1000)
commit0cc783f7280d905a541dec117c61568360ecd66a
tree5414f7c41882f5198bf0983f8308db923cc6a25b
parentd51d89c6fd4f952a382b5ddece4a9e70ffd90949
rbtree: add RB_DECLARE_CALLBACKS() macro

As proposed by Peter Zijlstra, this makes it easier to define the augmented
rbtree callbacks.

Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/pat_rbtree.c
include/linux/rbtree.h
lib/rbtree_test.c