diff options
Diffstat (limited to 'usr/src/uts/common/os/clock_tick.c')
-rw-r--r-- | usr/src/uts/common/os/clock_tick.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/uts/common/os/clock_tick.c b/usr/src/uts/common/os/clock_tick.c index b1b94720ff..9d2005660d 100644 --- a/usr/src/uts/common/os/clock_tick.c +++ b/usr/src/uts/common/os/clock_tick.c @@ -33,6 +33,7 @@ #include <sys/atomic.h> #include <sys/cpu.h> #include <sys/clock_tick.h> +#include <sys/clock_impl.h> #include <sys/sysmacros.h> #include <vm/rm.h> @@ -274,7 +275,7 @@ clock_tick_schedule_one(clock_tick_set_t *csp, int pending, processorid_t cid) */ ctp = clock_tick_cpu[cid]; mutex_enter(&ctp->ct_lock); - ctp->ct_lbolt = lbolt; + ctp->ct_lbolt = (clock_t)LBOLT_NO_ACCOUNT; ctp->ct_pending += pending; ctp->ct_start = csp->ct_start; ctp->ct_end = csp->ct_end; @@ -441,7 +442,8 @@ clock_tick_schedule(int one_sec) if (clock_tick_scan >= end) clock_tick_scan = 0; - clock_tick_execute_common(0, clock_tick_scan, end, lbolt, 1); + clock_tick_execute_common(0, clock_tick_scan, end, + (clock_t)LBOLT_NO_ACCOUNT, 1); return; } @@ -474,7 +476,7 @@ clock_tick_schedule(int one_sec) * we want to handle this before we block on anything and allow * the pinned thread below the current thread to escape. */ - clock_tick_process(CPU, lbolt, clock_tick_pending); + clock_tick_process(CPU, (clock_t)LBOLT_NO_ACCOUNT, clock_tick_pending); mutex_enter(&clock_tick_lock); |