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.
-/* $OpenBSD: kern_clockintr.c,v 1.20 2023/04/23 00:01:40 cheloha Exp $ */
+/* $OpenBSD: kern_clockintr.c,v 1.21 2023/04/23 00:08:36 cheloha Exp $ */
/*
* Copyright (c) 2003 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
if (!CPU_IS_PRIMARY(ci) && reset_cq_intrclock)
multiplier = CPU_INFO_UNIT(ci);
- cq->cq_uptime = nsecuptime();
-
/*
* The first time we do this, the primary CPU cannot skip any
* hardclocks. We can skip hardclocks on subsequent calls because