Print this page
XXXX introduce drv_sectohz

@@ -586,11 +586,11 @@
                 /* Check out the zone */
                 tzmon_eval_zone(tzp);
 
                 /* Go back to sleep */
                 mutex_enter(&tzp->lock);
-                ticks = drv_usectohz(tzp->polling_period * 1000000);
+                ticks = drv_sectohz(tzp->polling_period);
                 if (ticks > 0)
                         (void) cv_reltimedwait(&zone_list_condvar,
                             &tzp->lock, ticks, TR_CLOCK_TICK);
                 mutex_exit(&tzp->lock);
         } while (ticks > 0);