summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-10-30 12:51:00 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2023-10-30 12:51:00 +0000
commit15b7bd2af6947343561efeeeb00e39c632d49ab9 (patch)
tree702bc9374aa9d0e9ca3e477936d69e34c3ae73a2 /sys/arch/i386
parent741ee83429f27619b99c3a58a00b82c566e2a126 (diff)
Use KERNEL_ASSERT_UNLOCKED() instead of KASSERT(!_kernel_lock_held()).
The first one defined as the second, so no functional changed. ok claudio
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/ipifuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/ipifuncs.c b/sys/arch/i386/i386/ipifuncs.c
index 17a00c22e8d..81a03ae5fd7 100644
--- a/sys/arch/i386/i386/ipifuncs.c
+++ b/sys/arch/i386/i386/ipifuncs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipifuncs.c,v 1.34 2023/01/30 10:49:05 jsg Exp $ */
+/* $OpenBSD: ipifuncs.c,v 1.35 2023/10/30 12:50:59 mvs Exp $ */
/* $NetBSD: ipifuncs.c,v 1.1.2.3 2000/06/26 02:04:06 sommerfeld Exp $ */
/*-
@@ -96,7 +96,7 @@ void
i386_ipi_halt(struct cpu_info *ci)
{
SCHED_ASSERT_UNLOCKED();
- KASSERT(!_kernel_lock_held());
+ KERNEL_ASSERT_UNLOCKED();
npxsave_cpu(ci, 1);
intr_disable();