Remove splassert() for now since IPL_STATCLOCK is MD and not all archs have it.
authorclaudio <claudio@openbsd.org>
Tue, 9 Jul 2024 15:20:15 +0000 (15:20 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 9 Jul 2024 15:20:15 +0000 (15:20 +0000)
Noticed by bluhm@ on octeon

sys/kern/kern_resource.c

index a3ffd72..c4fec1b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kern_resource.c,v 1.85 2024/07/08 13:17:12 claudio Exp $      */
+/*     $OpenBSD: kern_resource.c,v 1.86 2024/07/09 15:20:15 claudio Exp $      */
 /*     $NetBSD: kern_resource.c,v 1.38 1996/10/23 07:19:38 matthias Exp $      */
 
 /*-
@@ -432,7 +432,6 @@ void
 tuagg_add_process(struct process *pr, struct proc *p)
 {
        MUTEX_ASSERT_LOCKED(&pr->ps_mtx);
-       splassert(IPL_STATCLOCK);
        KASSERT(curproc == p || p->p_stat == SDEAD);
 
        tu_enter(&pr->ps_tu);