aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb3/iwch_qp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch_qp.c')
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_qp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw/cxgb3/iwch_qp.c
index ae47bfd22bd5..9bbb65bba67e 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_qp.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_qp.c
@@ -816,7 +816,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag)
816 atomic_inc(&qhp->refcnt); 816 atomic_inc(&qhp->refcnt);
817 spin_unlock_irqrestore(&qhp->lock, *flag); 817 spin_unlock_irqrestore(&qhp->lock, *flag);
818 818
819 /* locking heirarchy: cq lock first, then qp lock. */ 819 /* locking hierarchy: cq lock first, then qp lock. */
820 spin_lock_irqsave(&rchp->lock, *flag); 820 spin_lock_irqsave(&rchp->lock, *flag);
821 spin_lock(&qhp->lock); 821 spin_lock(&qhp->lock);
822 cxio_flush_hw_cq(&rchp->cq); 822 cxio_flush_hw_cq(&rchp->cq);
@@ -827,7 +827,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag)
827 if (flushed) 827 if (flushed)
828 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 828 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
829 829
830 /* locking heirarchy: cq lock first, then qp lock. */ 830 /* locking hierarchy: cq lock first, then qp lock. */
831 spin_lock_irqsave(&schp->lock, *flag); 831 spin_lock_irqsave(&schp->lock, *flag);
832 spin_lock(&qhp->lock); 832 spin_lock(&qhp->lock);
833 cxio_flush_hw_cq(&schp->cq); 833 cxio_flush_hw_cq(&schp->cq);