2014-08-23 12:29:27 +02:00
|
|
|
#include <linux/interval_tree.h>
|
|
|
|
#include <linux/interval_tree_generic.h>
|
2017-07-27 12:22:14 +02:00
|
|
|
#include <linux/compiler.h>
|
|
|
|
#include <linux/export.h>
|
2014-08-23 12:29:27 +02:00
|
|
|
|
|
|
|
#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)
|
|
|
|
|
|
|
|
EXPORT_SYMBOL_GPL(interval_tree_insert);
|
|
|
|
EXPORT_SYMBOL_GPL(interval_tree_remove);
|
|
|
|
EXPORT_SYMBOL_GPL(interval_tree_iter_first);
|
|
|
|
EXPORT_SYMBOL_GPL(interval_tree_iter_next);
|