IB/hfi1: Make the cache handler own its rb tree root
[deliverable/linux.git] / drivers / infiniband / hw / hfi1 / user_sdma.h
index b9240e351161c9dad40e253c9f045e99b912a858..bcdc9e8ae1f0830c8ad92597aebf21b55525889c 100644 (file)
@@ -63,14 +63,16 @@ struct hfi1_user_sdma_pkt_q {
        struct hfi1_devdata *dd;
        struct kmem_cache *txreq_cache;
        struct user_sdma_request *reqs;
+       unsigned long *req_in_use;
        struct iowait busy;
        unsigned state;
        wait_queue_head_t wait;
        unsigned long unpinned;
-       struct rb_root sdma_rb_root;
+       struct mmu_rb_handler *handler;
        u32 n_locked;
        struct list_head evict;
        spinlock_t evict_lock; /* protect evict and n_locked */
+       struct mm_struct *mm;
 };
 
 struct hfi1_user_sdma_comp_q {
This page took 0.039968 seconds and 5 git commands to generate.