Print this page
XXXX introduce drv_sectohz
*** 654,664 ****
scsi_watch_thread()
{
struct scsi_watch_request *swr, *next;
clock_t last_delay = 0;
clock_t next_delay = 0;
! clock_t onesec = drv_usectohz(1000000);
clock_t exit_delay = 60 * onesec;
SW_DEBUG((dev_info_t *)NULL, sw_label, SCSI_DEBUG,
"scsi_watch_thread: Entering ...\n");
--- 654,664 ----
scsi_watch_thread()
{
struct scsi_watch_request *swr, *next;
clock_t last_delay = 0;
clock_t next_delay = 0;
! clock_t onesec = drv_sectohz(1);
clock_t exit_delay = 60 * onesec;
SW_DEBUG((dev_info_t *)NULL, sw_label, SCSI_DEBUG,
"scsi_watch_thread: Entering ...\n");