On 17/07/2015 22:01, Jérôme Glisse wrote: > The mlx5 driver will need this function for its driver specific bit > of ODP (on demand paging) on HMM (Heterogeneous Memory Management). > > Signed-off-by: Jérôme Glisse <jgli...@redhat.com> > --- > drivers/infiniband/core/umem_rbtree.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/infiniband/core/umem_rbtree.c > b/drivers/infiniband/core/umem_rbtree.c > index 727d788..f030ec0 100644 > --- a/drivers/infiniband/core/umem_rbtree.c > +++ b/drivers/infiniband/core/umem_rbtree.c > @@ -92,3 +92,4 @@ int rbt_ib_umem_for_each_in_range(struct rb_root *root, > > return ret_val; > } > +EXPORT_SYMBOL(rbt_ib_umem_for_each_in_range); >
Perhaps it would be better if the driver didn't access the internal rbtree directly, and instead used something like an ib_mirror_for_each_range() to do this. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/