]> git.karo-electronics.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, 20 Sep 2012 07:05:05 +0000 (17:05 +1000)
commit50218390b3e6558fb2ea7878e8d939ea17814025
tree864df609ed1229342b326ea3585c62b68c1af849
parent9e7f2c75bbe34bee582a96a45bb8f87b204ade61
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