[PATCH 0/2] make RB_DECLARE_CALLBACKS more generic
From: Michel Lespinasse
Date: Fri Jun 28 2019 - 20:50:21 EST
These changes are intended to make the RB_DECLARE_CALLBACKS macro
more generic (allowing the aubmented subtree information to be a struct
instead of a scalar) and tweak the macro arguments to be more similar
to INTERVAL_TREE_DEFINE().
Michel Lespinasse (2):
augmented rbtree: add comments for RB_DECLARE_CALLBACKS macro
augmented rbtree: rework the RB_DECLARE_CALLBACKS macro definition
arch/x86/mm/pat_rbtree.c | 11 ++++--
drivers/block/drbd/drbd_interval.c | 13 ++++---
include/linux/interval_tree_generic.h | 13 +++++--
include/linux/rbtree_augmented.h | 51 +++++++++++++++-----------
lib/rbtree_test.c | 11 ++++--
mm/mmap.c | 26 ++++++++-----
tools/include/linux/rbtree_augmented.h | 51 +++++++++++++++-----------
7 files changed, 107 insertions(+), 69 deletions(-)
--
2.22.0.410.gd8fdbe21b5-goog