aboutsummaryrefslogtreecommitdiffstats
path: root/lib/interval_tree.c
blob: e6eb406f2d65dd3c4e22520239ec10afdd42dc30 (plain)
1
2
3
4
5
6
7
8
9
10
#include <linux/init.h>
#include <linux/interval_tree.h>
#include <linux/interval_tree_generic.h>

#define START(node) ((node)->start)
#define LAST(node)  ((node)->last)

INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
		     unsigned long, __subtree_last,
		     START, LAST,, interval_tree)

Privacy Policy