summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2007-05-11 10:06:57 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2007-05-11 10:06:57 +0000
commitebfc5f745f41b3eba34dc6307aab7d5aa969f2ed (patch)
treef2e985dd112ef2955df413538b1f5bf30eb4e434 /sys/arch/i386
parentcdb3ab5492ffd4d895cfd28b9d5f5839ea201ce4 (diff)
Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index 0bea0095d56..9cd0ecd30bf 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.82 2007/03/15 10:22:29 art Exp $ */
+/* $OpenBSD: trap.c,v 1.83 2007/05/11 10:06:55 pedro Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
/*-
@@ -447,7 +447,7 @@ trap(struct trapframe frame)
goto we_re_toast;
#endif
cr2 = rcr2();
- KERNEL_LOCK(LK_CANRECURSE|LK_EXCLUSIVE);
+ KERNEL_LOCK();
goto faultcommon;
case T_PAGEFLT|T_USER: { /* page fault */