rbtree: add RB_DECLARE_CALLBACKS() macro
authorMichel Lespinasse <[email protected]>
Mon, 8 Oct 2012 23:31:21 +0000 (16:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 Oct 2012 07:22:38 +0000 (16:22 +0900)
commit3908836aa77e3621aaf2101f2920e01d7c8460d6
tree3e8f5b619f9e093d9d53180bb6f496319ddeb946
parent9d9e6f9703bbd642f3f2f807e6aaa642a4cbcec9
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 <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/mm/pat_rbtree.c
include/linux/rbtree.h
lib/rbtree_test.c