From: claudio Date: Tue, 9 Jul 2024 15:20:15 +0000 (+0000) Subject: Remove splassert() for now since IPL_STATCLOCK is MD and not all archs have it. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c6adfb2bff4d15e866f1214cdc26caf3eb28685d;p=openbsd Remove splassert() for now since IPL_STATCLOCK is MD and not all archs have it. Noticed by bluhm@ on octeon --- diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index a3ffd72587e..c4fec1b4b6b 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -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);