]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rbtree: add RB_DECLARE_CALLBACKS() macro
authorMichel Lespinasse <walken@google.com>
Fri, 28 Sep 2012 00:19:31 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:00:58 +0000 (14:00 +1000)
commit28b9204bdb5d19825e329eee6fb8889b434f60f3
tree95c0901cc4cc154cbc9d94297ab016bc2f32a090
parent5df72e977a8b7f0517c8c0968c17724d5d039db0
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