XXXX introduce drv_sectohz
@@ -177,11 +177,11 @@ clock_t xwait; clock_t wait_rv; int rv; /* wait time used on successive retries */ - xwait = drv_usectohz(vsw_setup_switching_delay * MICROSEC); + 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);