clockintr_cpu_init: don't update cached uptime
authorcheloha <cheloha@openbsd.org>
Sun, 23 Apr 2023 00:08:36 +0000 (00:08 +0000)
committercheloha <cheloha@openbsd.org>
Sun, 23 Apr 2023 00:08:36 +0000 (00:08 +0000)
commit336d7bd6fcc63e38c49f467f1dedde1b49223dbf
treea225d16f8f726c2a43dc45a1787f9962b3123ea5
parent89af9044153fe1e4eb7e6e4f686f8640b95c8ec5
clockintr_cpu_init: don't update cached uptime

clockintr_advance() now calls nsecuptime(9) when called outside
clockintr_dispatch().  There is no need for clockintr_cpu_init() to
update the queue's cached uptime (cq->cq_uptime) to ensure it is
fresh.
sys/kern/kern_clockintr.c