From: Mike Marciniszyn Date: Tue, 8 Nov 2011 18:27:31 +0000 (-0500) Subject: IB/qib: Don't use schedule_work() X-Git-Tag: MMI-PSA29.97-13-9~17944^2^4~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=042f36e1560cedfe524607791fa44607a3121f63;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git IB/qib: Don't use schedule_work() It was mistakenly introduced by dde05cbdf8b1 ("IB/qib: Hold links until tuning data is available"). Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c index 5bd2162b95dc..8b46b608c02f 100644 --- a/drivers/infiniband/hw/qib/qib_iba7322.c +++ b/drivers/infiniband/hw/qib/qib_iba7322.c @@ -5241,7 +5241,7 @@ static int qib_7322_ib_updown(struct qib_pportdata *ppd, int ibup, u64 ibcs) off */ if (ppd->dd->flags & QIB_HAS_QSFP) { qd->t_insert = get_jiffies_64(); - schedule_work(&qd->work); + queue_work(ib_wq, &qd->work); } spin_lock_irqsave(&ppd->sdma_lock, flags); if (__qib_sdma_running(ppd))