From c6adfb2bff4d15e866f1214cdc26caf3eb28685d Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 9 Jul 2024 15:20:15 +0000 Subject: [PATCH] Remove splassert() for now since IPL_STATCLOCK is MD and not all archs have it. Noticed by bluhm@ on octeon --- sys/kern/kern_resource.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.20.1