diff options
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_qp.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_qp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c index ec34ff432900..31d21526df5e 100644 --- a/drivers/infiniband/hw/ehca/ehca_qp.c +++ b/drivers/infiniband/hw/ehca/ehca_qp.c | |||
@@ -933,7 +933,7 @@ static int internal_modify_qp(struct ib_qp *ibqp, | |||
933 | u64 h_ret; | 933 | u64 h_ret; |
934 | int bad_wqe_cnt = 0; | 934 | int bad_wqe_cnt = 0; |
935 | int squeue_locked = 0; | 935 | int squeue_locked = 0; |
936 | unsigned long spl_flags = 0; | 936 | unsigned long flags = 0; |
937 | 937 | ||
938 | /* do query_qp to obtain current attr values */ | 938 | /* do query_qp to obtain current attr values */ |
939 | mqpcb = ehca_alloc_fw_ctrlblock(GFP_KERNEL); | 939 | mqpcb = ehca_alloc_fw_ctrlblock(GFP_KERNEL); |
@@ -1074,7 +1074,7 @@ static int internal_modify_qp(struct ib_qp *ibqp, | |||
1074 | if (!ibqp->uobject) { | 1074 | if (!ibqp->uobject) { |
1075 | struct ehca_wqe *wqe; | 1075 | struct ehca_wqe *wqe; |
1076 | /* lock send queue */ | 1076 | /* lock send queue */ |
1077 | spin_lock_irqsave(&my_qp->spinlock_s, spl_flags); | 1077 | spin_lock_irqsave(&my_qp->spinlock_s, flags); |
1078 | squeue_locked = 1; | 1078 | squeue_locked = 1; |
1079 | /* mark next free wqe */ | 1079 | /* mark next free wqe */ |
1080 | wqe = (struct ehca_wqe*) | 1080 | wqe = (struct ehca_wqe*) |
@@ -1360,7 +1360,7 @@ static int internal_modify_qp(struct ib_qp *ibqp, | |||
1360 | 1360 | ||
1361 | modify_qp_exit2: | 1361 | modify_qp_exit2: |
1362 | if (squeue_locked) { /* this means: sqe -> rts */ | 1362 | if (squeue_locked) { /* this means: sqe -> rts */ |
1363 | spin_unlock_irqrestore(&my_qp->spinlock_s, spl_flags); | 1363 | spin_unlock_irqrestore(&my_qp->spinlock_s, flags); |
1364 | my_qp->sqerr_purgeflag = 1; | 1364 | my_qp->sqerr_purgeflag = 1; |
1365 | } | 1365 | } |
1366 | 1366 | ||