Print this page
XXXX introduce drv_sectohz

@@ -784,12 +784,11 @@
                  * increment watchdog init flag, setting watchdog timeout
                  * if we are the first (since somebody has to do it)
                  */
                 if (!sf_watchdog_init++) {
                         mutex_exit(&sf_global_mutex);
-                        sf_watchdog_tick = sf_watchdog_timeout *
-                            drv_usectohz(1000000);
+                        sf_watchdog_tick = drv_sectohz(sf_watchdog_timeout);
                         sf_watchdog_id = timeout(sf_watch,
                             NULL, sf_watchdog_tick);
                 } else {
                         mutex_exit(&sf_global_mutex);
                 }