diff options
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_ib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c index 1a77e79f6b43..6a5f9fc07fb2 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c | |||
@@ -436,7 +436,8 @@ void ipoib_reap_ah(struct work_struct *work) | |||
436 | __ipoib_reap_ah(dev); | 436 | __ipoib_reap_ah(dev); |
437 | 437 | ||
438 | if (!test_bit(IPOIB_STOP_REAPER, &priv->flags)) | 438 | if (!test_bit(IPOIB_STOP_REAPER, &priv->flags)) |
439 | queue_delayed_work(ipoib_workqueue, &priv->ah_reap_task, HZ); | 439 | queue_delayed_work(ipoib_workqueue, &priv->ah_reap_task, |
440 | round_jiffies_relative(HZ)); | ||
440 | } | 441 | } |
441 | 442 | ||
442 | int ipoib_ib_dev_open(struct net_device *dev) | 443 | int ipoib_ib_dev_open(struct net_device *dev) |
@@ -472,7 +473,8 @@ int ipoib_ib_dev_open(struct net_device *dev) | |||
472 | } | 473 | } |
473 | 474 | ||
474 | clear_bit(IPOIB_STOP_REAPER, &priv->flags); | 475 | clear_bit(IPOIB_STOP_REAPER, &priv->flags); |
475 | queue_delayed_work(ipoib_workqueue, &priv->ah_reap_task, HZ); | 476 | queue_delayed_work(ipoib_workqueue, &priv->ah_reap_task, |
477 | round_jiffies_relative(HZ)); | ||
476 | 478 | ||
477 | set_bit(IPOIB_FLAG_INITIALIZED, &priv->flags); | 479 | set_bit(IPOIB_FLAG_INITIALIZED, &priv->flags); |
478 | 480 | ||