Print this page
XXXX introduce drv_sectohz
@@ -3920,11 +3920,11 @@
* every mod_uninstall_interval seconds. Periodic uninstall can
* be disabled by setting mod_uninstall_interval to 0 which is
* the default for a non-DEBUG kernel.
*/
if (mod_uninstall_interval) {
- ticks = drv_usectohz(mod_uninstall_interval * 1000000);
+ ticks = drv_sectohz(mod_uninstall_interval);
(void) cv_reltimedwait(&mod_uninstall_cv,
&mod_uninstall_lock, ticks, TR_CLOCK_TICK);
} else {
cv_wait(&mod_uninstall_cv, &mod_uninstall_lock);
}