Use KERNEL_ASSERT_UNLOCKED() instead of KASSERT(!_kernel_lock_held()).
authormvs <mvs@openbsd.org>
Mon, 30 Oct 2023 12:50:59 +0000 (12:50 +0000)
committermvs <mvs@openbsd.org>
Mon, 30 Oct 2023 12:50:59 +0000 (12:50 +0000)
commitf5c2c0e8120dcad288915333f0399b5a1b7aa44c
tree219f3c08620fb352804bfa3e5e1ddd62617764fe
parent14835c3890bbdea732ae0a163f6ab26b53c828be
Use KERNEL_ASSERT_UNLOCKED() instead of KASSERT(!_kernel_lock_held()).
The first one defined as the second, so no functional changed.

ok claudio
sys/arch/amd64/amd64/ipifuncs.c
sys/arch/i386/i386/ipifuncs.c