aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hfi1/mmu_rb.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2017-07-24 08:33:43 -0400
committerDoug Ledford <dledford@redhat.com>2017-07-24 08:33:43 -0400
commit03da084ed8804ddc5918883be84245b53393b8fb (patch)
tree564a4860cb9c5de3f504fd6156110d95b1c9f26b /drivers/infiniband/hw/hfi1/mmu_rb.h
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
parentbc5214ee29220251e5507882696ded5ca183b169 (diff)
Merge branch 'hfi1' into k.o/for-4.14
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mmu_rb.h')
-rw-r--r--drivers/infiniband/hw/hfi1/mmu_rb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/hfi1/mmu_rb.h b/drivers/infiniband/hw/hfi1/mmu_rb.h
index 754f6ebf13fb..f04cec1e99d1 100644
--- a/drivers/infiniband/hw/hfi1/mmu_rb.h
+++ b/drivers/infiniband/hw/hfi1/mmu_rb.h
@@ -81,7 +81,8 @@ int hfi1_mmu_rb_insert(struct mmu_rb_handler *handler,
void hfi1_mmu_rb_evict(struct mmu_rb_handler *handler, void *evict_arg);
void hfi1_mmu_rb_remove(struct mmu_rb_handler *handler,
struct mmu_rb_node *mnode);
-struct mmu_rb_node *hfi1_mmu_rb_extract(struct mmu_rb_handler *handler,
- unsigned long addr, unsigned long len);
+bool hfi1_mmu_rb_remove_unless_exact(struct mmu_rb_handler *handler,
+ unsigned long addr, unsigned long len,
+ struct mmu_rb_node **rb_node);
#endif /* _HFI1_MMU_RB_H */