summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/bscv.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/bscv.c')
-rw-r--r--usr/src/uts/common/io/bscv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/bscv.c b/usr/src/uts/common/io/bscv.c
index 77de4d47b7..829268c822 100644
--- a/usr/src/uts/common/io/bscv.c
+++ b/usr/src/uts/common/io/bscv.c
@@ -3128,9 +3128,8 @@ bscv_event_daemon(void *arg)
if (ssp->event_sleep) {
ssp->task_flags |= TASK_SLEEPING_FLG;
/* Sleep until there is something to do */
- (void) cv_timedwait(&ssp->task_cv,
- &ssp->task_mu,
- poll_period + ddi_get_lbolt());
+ (void) cv_reltimedwait(&ssp->task_cv,
+ &ssp->task_mu, poll_period, TR_CLOCK_TICK);
ssp->task_flags &= ~TASK_SLEEPING_FLG;
ssp->event_sleep = B_FALSE;
}