From 1eba9ae7d0024ab190ad34a8cd4572d01b093f87 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 7 Sep 2007 19:31:30 +0000 Subject: [PATCH] Remove a bogus assertion. in_vm86call may have been set by some unrelated thread. We have to check that we are in an emulated 8086 mode before we can assert that the MP lock is held. Reported-by: Rumko --- sys/platform/pc32/i386/trap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/platform/pc32/i386/trap.c b/sys/platform/pc32/i386/trap.c index f9accb0644..8420368d33 100644 --- a/sys/platform/pc32/i386/trap.c +++ b/sys/platform/pc32/i386/trap.c @@ -36,7 +36,7 @@ * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 * $FreeBSD: src/sys/i386/i386/trap.c,v 1.147.2.11 2003/02/27 19:09:59 luoqi Exp $ - * $DragonFly: src/sys/platform/pc32/i386/trap.c,v 1.107 2007/07/25 18:21:35 dillon Exp $ + * $DragonFly: src/sys/platform/pc32/i386/trap.c,v 1.108 2007/09/07 19:31:30 dillon Exp $ */ /* @@ -464,7 +464,6 @@ restart: code = frame->tf_err; if (in_vm86call) { - ASSERT_MP_LOCK_HELD(curthread); if (frame->tf_eflags & PSL_VM && (type == T_PROTFLT || type == T_STKFLT)) { #ifdef SMP -- 2.11.4.GIT