summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86xpv/os/balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/i86xpv/os/balloon.c')
-rw-r--r--usr/src/uts/i86xpv/os/balloon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/i86xpv/os/balloon.c b/usr/src/uts/i86xpv/os/balloon.c
index be071f322f..2370e6eaf9 100644
--- a/usr/src/uts/i86xpv/os/balloon.c
+++ b/usr/src/uts/i86xpv/os/balloon.c
@@ -673,8 +673,8 @@ balloon_worker_thread(void)
* We weren't able to fully complete the request
* last time through, so try again.
*/
- (void) cv_timedwait(&bln_cv, &bln_mutex,
- lbolt + (bln_wait * hz));
+ (void) cv_reltimedwait(&bln_cv, &bln_mutex,
+ (bln_wait * hz), TR_CLOCK_TICK);
} else {
cv_wait(&bln_cv, &bln_mutex);
}