summaryrefslogtreecommitdiff
path: root/sys/arch/vax/bi/kdb.c
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/vax/bi/kdb.c
parentcdb3ab5492ffd4d895cfd28b9d5f5839ea201ce4 (diff)
Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@
Diffstat (limited to 'sys/arch/vax/bi/kdb.c')
-rw-r--r--sys/arch/vax/bi/kdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/bi/kdb.c b/sys/arch/vax/bi/kdb.c
index 6fb2415a3c5..26130c2e13a 100644
--- a/sys/arch/vax/bi/kdb.c
+++ b/sys/arch/vax/bi/kdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdb.c,v 1.10 2007/05/10 17:59:26 deraadt Exp $ */
+/* $OpenBSD: kdb.c,v 1.11 2007/05/11 10:06:55 pedro Exp $ */
/* $NetBSD: kdb.c,v 1.26 2001/11/13 12:51:34 lukem Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -301,7 +301,7 @@ kdbintr(void *arg)
kdbsaerror(&sc->sc_dev, 1);
return;
}
- KERNEL_LOCK(LK_CANRECURSE|LK_EXCLUSIVE);
+ KERNEL_LOCK();
mscp_intr(sc->sc_softc);
KERNEL_UNLOCK();
}