IB/hfi1: Add evict operation to the mmu rb handler
authorDean Luick <dean.luick@intel.com>
Thu, 28 Jul 2016 19:21:22 +0000 (15:21 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 3 Aug 2016 02:46:21 +0000 (22:46 -0400)
commit1034599805009394cc42e6c538575d12d8dc57fa
tree31db4fba514eb0642ccfc67ef7c4de3d9f10404e
parent622c202c4a4697636334761d7ca295ebd35074e4
IB/hfi1: Add evict operation to the mmu rb handler

Allow users to clear nodes from the rb tree based on their evict callback.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mmu_rb.c
drivers/infiniband/hw/hfi1/mmu_rb.h