]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rbtree: add RB_DECLARE_CALLBACKS() macro
authorMichel Lespinasse <walken@google.com>
Thu, 13 Sep 2012 00:58:53 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:27:57 +0000 (17:27 +1000)
commit61ffbb7b9eabb4667241a6592fb69bc4c780d682
treebc3cf0f6f7eca316b65a91073d76b34397c194fc
parenta3a60704c66aeda36b62bd122e663a04ad71a4e8
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