diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-11 06:16:59 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:03:14 -0400 |
commit | 732bee7af3102cad811fb047dee8d15966efe569 (patch) | |
tree | 1a260fdc7a7155e8b22944dc114af4c2cd56a100 /drivers/infiniband/hw/cxgb4/qp.c | |
parent | 22c1d8b4f8f04882046ebe592f9a9eaea443cb45 (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/hw/cxgb4/qp.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/qp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |