Print this page
XXXX introduce drv_sectohz

@@ -937,11 +937,11 @@
          */
         ASSERT(task->ts_timeout_id == 0);
         task->ts_time_start = gethrtime();
         if (task->ts_timeout > 0) {
                 task->ts_timeout_id = timeout(sbp2_task_timeout, task,
-                    task->ts_timeout * drv_usectohz(1000000));
+                    drv_sectohz(task->ts_timeout));
         }
 
         /* notify fetch agent */
         ap->a_state = SBP2_AGENT_STATE_ACTIVE;
         mutex_exit(&ap->a_mutex);