aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-11 06:16:59 -0400
committerJiri Kosina <jkosina@suse.cz>2010-06-16 12:03:14 -0400
commit732bee7af3102cad811fb047dee8d15966efe569 (patch)
tree1a260fdc7a7155e8b22944dc114af4c2cd56a100 /drivers/infiniband
parent22c1d8b4f8f04882046ebe592f9a9eaea443cb45 (diff)
fix typos concerning "hierarchy"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb3/iwch_qp.c4
-rw-r--r--drivers/infiniband/hw/cxgb4/qp.c4
2 files changed, 4 insertions, 4 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);
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c
index 83a01dc0c4c1..b321835dcf6e 100644
--- a/drivers/infiniband/hw/cxgb4/qp.c
+++ b/drivers/infiniband/hw/cxgb4/qp.c
@@ -899,7 +899,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp,
899 atomic_inc(&qhp->refcnt); 899 atomic_inc(&qhp->refcnt);
900 spin_unlock_irqrestore(&qhp->lock, *flag); 900 spin_unlock_irqrestore(&qhp->lock, *flag);
901 901
902 /* locking heirarchy: cq lock first, then qp lock. */ 902 /* locking hierarchy: cq lock first, then qp lock. */
903 spin_lock_irqsave(&rchp->lock, *flag); 903 spin_lock_irqsave(&rchp->lock, *flag);
904 spin_lock(&qhp->lock); 904 spin_lock(&qhp->lock);
905 c4iw_flush_hw_cq(&rchp->cq); 905 c4iw_flush_hw_cq(&rchp->cq);
@@ -910,7 +910,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp,
910 if (flushed) 910 if (flushed)
911 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 911 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
912 912
913 /* locking heirarchy: cq lock first, then qp lock. */ 913 /* locking hierarchy: cq lock first, then qp lock. */
914 spin_lock_irqsave(&schp->lock, *flag); 914 spin_lock_irqsave(&schp->lock, *flag);
915 spin_lock(&qhp->lock); 915 spin_lock(&qhp->lock);
916 c4iw_flush_hw_cq(&schp->cq); 916 c4iw_flush_hw_cq(&schp->cq);