sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-15 18:33:02 +00:00
parent 66d94126c9
commit 8b897ac235
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
18 changed files with 560 additions and 1276 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: kern_clockintr.c,v 1.52 2023/09/14 22:27:09 cheloha Exp $ */
/* $OpenBSD: kern_clockintr.c,v 1.53 2023/09/15 11:48:49 deraadt Exp $ */
/*
* Copyright (c) 2003 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@ -355,9 +355,10 @@ clockintr_cancel(struct clockintr *cl)
}
struct clockintr *
clockintr_establish(struct cpu_info *ci,
clockintr_establish(void *vci,
void (*func)(struct clockintr *, void *, void *), void *arg)
{
struct cpu_info *ci = vci;
struct clockintr *cl;
struct clockintr_queue *cq = &ci->ci_queue;