Print this page
XXXX introduce drv_sectohz

@@ -283,11 +283,11 @@
                                 while (!((sp->session_state ==
                                     RDS_SESSION_STATE_FAILED) ||
                                     (sp->session_state ==
                                     RDS_SESSION_STATE_FINI))) {
                                         rw_exit(&sp->session_lock);
-                                        delay(drv_usectohz(1000000));
+                                        delay(drv_sectohz(1));
                                         rw_enter(&sp->session_lock, RW_WRITER);
                                 }
                 }
 
                 /* move the session to init state */