diff options
Diffstat (limited to 'usr/src/uts/sun4v/io/vsw_ldc.c')
-rw-r--r-- | usr/src/uts/sun4v/io/vsw_ldc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/sun4v/io/vsw_ldc.c b/usr/src/uts/sun4v/io/vsw_ldc.c index ffdae8ae36..bf22468284 100644 --- a/usr/src/uts/sun4v/io/vsw_ldc.c +++ b/usr/src/uts/sun4v/io/vsw_ldc.c @@ -1186,8 +1186,8 @@ vsw_drain_ldcs(vsw_port_t *port) */ while (ldc_unreg_callback(ldcp->ldc_handle) == EWOULDBLOCK) - (void) cv_timedwait(&ldcp->drain_cv, - &ldcp->drain_cv_lock, ddi_get_lbolt() + hz); + (void) cv_reltimedwait(&ldcp->drain_cv, + &ldcp->drain_cv_lock, hz, TR_CLOCK_TICK); mutex_exit(&ldcp->drain_cv_lock); D2(vswp, "%s: unreg callback for chan %ld after " |