]> 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>
Mon, 8 Oct 2012 03:00:05 +0000 (14:00 +1100)
commit348c2bed451edb143cb5875869f0c7c93054dbca
treed543d1773051f142e8d9d3471b1006ff2aa8675f
parentf932b56b8284104b2d34ee46ef86ca3ae2e4190c
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