Print this page
XXXX introduce drv_sectohz
*** 177,187 ****
clock_t xwait;
clock_t wait_rv;
int rv;
/* wait time used on successive retries */
! xwait = drv_usectohz(vsw_setup_switching_delay * MICROSEC);
CALLB_CPR_INIT(&cprinfo, &vswp->sw_thr_lock, callb_generic_cpr,
"vsw_setup_sw_thread");
mutex_enter(&vswp->sw_thr_lock);
--- 177,187 ----
clock_t xwait;
clock_t wait_rv;
int rv;
/* wait time used on successive retries */
! xwait = drv_sectohz(vsw_setup_switching_delay);
CALLB_CPR_INIT(&cprinfo, &vswp->sw_thr_lock, callb_generic_cpr,
"vsw_setup_sw_thread");
mutex_enter(&vswp->sw_thr_lock);