diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2019-12-12 19:30:22 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2019-12-12 19:30:22 +0000 |
commit | f0d9814cb53229366226b8f1162b14937258c74d (patch) | |
tree | eeff2db56ed46b49411cacb796255068c10958d7 /sys/kern | |
parent | 8c36e7ae56461900169af1a3490a97f711811877 (diff) |
tc_setclock: reintroduce timeout_adjust_ticks() call
Missing piece of tickless timeout revert.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_tc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 96ee6dd2c55..bcf8f689625 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tc.c,v 1.54 2019/12/12 17:52:25 cheloha Exp $ */ +/* $OpenBSD: kern_tc.c,v 1.55 2019/12/12 19:30:21 cheloha Exp $ */ /* * Copyright (c) 2000 Poul-Henning Kamp <phk@FreeBSD.org> @@ -460,7 +460,7 @@ tc_setclock(const struct timespec *ts) if (adj_ticks > 0) { if (adj_ticks > INT_MAX) adj_ticks = INT_MAX; - ticks += adj_ticks; + timeout_adjust_ticks(adj_ticks); } #endif } |