aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/edac_device.c')
-rw-r--r--drivers/edac/edac_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index 55d14d008dd6..b9552bc03dea 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -440,7 +440,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
440 */ 440 */
441 if (edac_dev->poll_msec == 1000) 441 if (edac_dev->poll_msec == 1000)
442 queue_delayed_work(edac_workqueue, &edac_dev->work, 442 queue_delayed_work(edac_workqueue, &edac_dev->work,
443 round_jiffies(edac_dev->delay)); 443 round_jiffies_relative(edac_dev->delay));
444 else 444 else
445 queue_delayed_work(edac_workqueue, &edac_dev->work, 445 queue_delayed_work(edac_workqueue, &edac_dev->work,
446 edac_dev->delay); 446 edac_dev->delay);
@@ -472,7 +472,7 @@ void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
472 */ 472 */
473 if (edac_dev->poll_msec == 1000) 473 if (edac_dev->poll_msec == 1000)
474 queue_delayed_work(edac_workqueue, &edac_dev->work, 474 queue_delayed_work(edac_workqueue, &edac_dev->work,
475 round_jiffies(edac_dev->delay)); 475 round_jiffies_relative(edac_dev->delay));
476 else 476 else
477 queue_delayed_work(edac_workqueue, &edac_dev->work, 477 queue_delayed_work(edac_workqueue, &edac_dev->work,
478 edac_dev->delay); 478 edac_dev->delay);