aboutsummaryrefslogtreecommitdiffstats
path: root/lib/interval_tree.c
blob: 77a793e0644b901b4db5de9bb992141eda7df7d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <linux/init.h>
#include <linux/interval_tree.h>

#define ITSTRUCT   struct interval_tree_node
#define ITRB       rb
#define ITTYPE     unsigned long
#define ITSUBTREE  __subtree_last
#define ITSTART(n) ((n)->start)
#define ITLAST(n)  ((n)->last)
#define ITSTATIC
#define ITPREFIX   interval_tree

#include <linux/interval_tree_tmpl.h>