diff options
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_reqs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_reqs.c b/drivers/infiniband/hw/ehca/ehca_reqs.c index fd3ba22467e8..61da65e6e5e0 100644 --- a/drivers/infiniband/hw/ehca/ehca_reqs.c +++ b/drivers/infiniband/hw/ehca/ehca_reqs.c | |||
@@ -407,10 +407,9 @@ int ehca_post_send(struct ib_qp *qp, | |||
407 | } /* eof for cur_send_wr */ | 407 | } /* eof for cur_send_wr */ |
408 | 408 | ||
409 | post_send_exit0: | 409 | post_send_exit0: |
410 | /* UNLOCK the QUEUE */ | ||
411 | spin_unlock_irqrestore(&my_qp->spinlock_s, flags); | ||
412 | iosync(); /* serialize GAL register access */ | 410 | iosync(); /* serialize GAL register access */ |
413 | hipz_update_sqa(my_qp, wqe_cnt); | 411 | hipz_update_sqa(my_qp, wqe_cnt); |
412 | spin_unlock_irqrestore(&my_qp->spinlock_s, flags); | ||
414 | return ret; | 413 | return ret; |
415 | } | 414 | } |
416 | 415 | ||
@@ -473,9 +472,9 @@ static int internal_post_recv(struct ehca_qp *my_qp, | |||
473 | } /* eof for cur_recv_wr */ | 472 | } /* eof for cur_recv_wr */ |
474 | 473 | ||
475 | post_recv_exit0: | 474 | post_recv_exit0: |
476 | spin_unlock_irqrestore(&my_qp->spinlock_r, flags); | ||
477 | iosync(); /* serialize GAL register access */ | 475 | iosync(); /* serialize GAL register access */ |
478 | hipz_update_rqa(my_qp, wqe_cnt); | 476 | hipz_update_rqa(my_qp, wqe_cnt); |
477 | spin_unlock_irqrestore(&my_qp->spinlock_r, flags); | ||
479 | return ret; | 478 | return ret; |
480 | } | 479 | } |
481 | 480 | ||