clockintr: add clockintr_cancel()
authorcheloha <cheloha@openbsd.org>
Wed, 5 Apr 2023 00:23:06 +0000 (00:23 +0000)
committercheloha <cheloha@openbsd.org>
Wed, 5 Apr 2023 00:23:06 +0000 (00:23 +0000)
commit9d1f3b8426885134448e284b1934bdb244b5e59f
treefbe50caf25833afc17174fab8d5020a46f1765cf
parenta7d6b88a0050c3073198c7aa0e76267f212fee0f
clockintr: add clockintr_cancel()

As the name suggests, clockintr_cancel() cancels any pending
expiration of the given clockintr.

I think we will need this in the near future.
sys/kern/kern_clockintr.c