Print this page
XXXX introduce drv_sectohz

*** 118,128 **** rdsv3_sock_count--; mutex_exit(&rdsv3_sock_lock); while (sk->sk_refcount > 1) { /* wait for 1 sec and try again */ ! delay(drv_usectohz(1000000)); } /* this will free the rs and sk */ rdsv3_sk_sock_put(sk); --- 118,128 ---- rdsv3_sock_count--; mutex_exit(&rdsv3_sock_lock); while (sk->sk_refcount > 1) { /* wait for 1 sec and try again */ ! delay(drv_sectohz(1)); } /* this will free the rs and sk */ rdsv3_sk_sock_put(sk);