diff options
Diffstat (limited to 'usr/src/uts/common/os/zone.c')
-rw-r--r-- | usr/src/uts/common/os/zone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/os/zone.c b/usr/src/uts/common/os/zone.c index 61ecbf509a..c2d878f91c 100644 --- a/usr/src/uts/common/os/zone.c +++ b/usr/src/uts/common/os/zone.c @@ -2299,7 +2299,7 @@ zone_status_timedwait(zone_t *zone, clock_t tim, zone_status_t status) clock_t zone_status_timedwait_sig(zone_t *zone, clock_t tim, zone_status_t status) { - clock_t timeleft = tim - lbolt; + clock_t timeleft = tim - ddi_get_lbolt(); ASSERT(status > ZONE_MIN_STATE && status <= ZONE_MAX_STATE); @@ -4169,8 +4169,8 @@ zone_empty(zone_t *zone) * which can be called from the exit path. */ ASSERT(MUTEX_NOT_HELD(&zonehash_lock)); - while ((waitstatus = zone_status_timedwait_sig(zone, lbolt + hz, - ZONE_IS_EMPTY)) == -1) { + while ((waitstatus = zone_status_timedwait_sig(zone, + ddi_get_lbolt() + hz, ZONE_IS_EMPTY)) == -1) { killall(zone->zone_id); } /* |