Print this page
XXXX introduce drv_sectohz
*** 679,689 ****
}
}
/* sleep for a second */
(void) cv_timedwait(&ksi->tki_perfcntr64_cv,
&ksi->tki_perfcntr64_lock,
! ddi_get_lbolt() + drv_usectohz(1000000));
}
ksi->tki_perfcntr64_flags = 0;
mutex_exit(&ksi->tki_perfcntr64_lock);
}
--- 679,689 ----
}
}
/* sleep for a second */
(void) cv_timedwait(&ksi->tki_perfcntr64_cv,
&ksi->tki_perfcntr64_lock,
! ddi_get_lbolt() + drv_sectohz(1));
}
ksi->tki_perfcntr64_flags = 0;
mutex_exit(&ksi->tki_perfcntr64_lock);
}