Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[platform/adaptation/renesas_rcar/renesas_kernel.git] / lib / interval_tree.c
1 #include <linux/init.h>
2 #include <linux/interval_tree.h>
3 #include <linux/interval_tree_generic.h>
4
5 #define START(node) ((node)->start)
6 #define LAST(node)  ((node)->last)
7
8 INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
9                      unsigned long, __subtree_last,
10                      START, LAST,, interval_tree)