rapidio/rionet: fix deadlock on SMP
[linux/fpc-iii.git] / lib / interval_tree.c
blobf367f9ad544c3901a0ee5bcdfe451ac8b9b2aea3
1 #include <linux/init.h>
2 #include <linux/interval_tree.h>
3 #include <linux/interval_tree_generic.h>
4 #include <linux/module.h>
6 #define START(node) ((node)->start)
7 #define LAST(node) ((node)->last)
9 INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
10 unsigned long, __subtree_last,
11 START, LAST,, interval_tree)
13 EXPORT_SYMBOL_GPL(interval_tree_insert);
14 EXPORT_SYMBOL_GPL(interval_tree_remove);
15 EXPORT_SYMBOL_GPL(interval_tree_iter_first);
16 EXPORT_SYMBOL_GPL(interval_tree_iter_next);