2012-10-08 16:31:23 -07:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
#include <linux/interval_tree.h>
|
2012-10-08 16:31:35 -07:00
|
|
|
#include <linux/interval_tree_generic.h>
|
2012-10-08 16:31:23 -07:00
|
|
|
|
2012-10-08 16:31:35 -07:00
|
|
|
#define START(node) ((node)->start)
|
|
|
|
|
#define LAST(node) ((node)->last)
|
2012-10-08 16:31:23 -07:00
|
|
|
|
2012-10-08 16:31:35 -07:00
|
|
|
INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
|
|
|
|
|
unsigned long, __subtree_last,
|
|
|
|
|
START, LAST,, interval_tree)
|