Merge tag '3.8-pci-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[platform/upstream/kernel-adaptation-pc.git] / lib / interval_tree.c
1 #include <linux/init.h>
2 #include <linux/interval_tree.h>
3 #include <linux/interval_tree_generic.h>
4
5 #define START(node) ((node)->start)
6 #define LAST(node)  ((node)->last)
7
8 INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
9                      unsigned long, __subtree_last,
10                      START, LAST,, interval_tree)