clockintr: clockintr_establish: change first argument to a cpu_info pointer
authorcheloha <cheloha@openbsd.org>
Wed, 6 Sep 2023 02:09:58 +0000 (02:09 +0000)
committercheloha <cheloha@openbsd.org>
Wed, 6 Sep 2023 02:09:58 +0000 (02:09 +0000)
commit529ac4429f87505c3aab327b409d2c6e96e43621
treed851796444371a646719e33d1ef69dfd5dd77f1e
parent1031f0158648c0696546e5de475503cea48ce3dd
clockintr: clockintr_establish: change first argument to a cpu_info pointer

All CPUs control a single clockintr_queue.  clockintr_establish()
callers don't need to know about the underlying clockintr_queue.
Accepting a cpu_info pointer as argument simplifies the API.

From mpi@.

ok mpi@
sys/kern/kern_clockintr.c
sys/kern/kern_sched.c
sys/kern/subr_prof.c
sys/sys/clockintr.h