diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-05-11 10:06:57 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2007-05-11 10:06:57 +0000 |
commit | ebfc5f745f41b3eba34dc6307aab7d5aa969f2ed (patch) | |
tree | f2e985dd112ef2955df413538b1f5bf30eb4e434 /sys/arch/m88k | |
parent | cdb3ab5492ffd4d895cfd28b9d5f5839ea201ce4 (diff) |
Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/m88k/m88k/trap.c b/sys/arch/m88k/m88k/trap.c index 4de452d5ebf..ff37a4ac9a0 100644 --- a/sys/arch/m88k/m88k/trap.c +++ b/sys/arch/m88k/m88k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.39 2007/03/15 10:22:29 art Exp $ */ +/* $OpenBSD: trap.c,v 1.40 2007/05/11 10:06:55 pedro Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1998 Steve Murphree, Jr. @@ -282,7 +282,7 @@ m88100_trap(unsigned type, struct trapframe *frame) panic("trap: bad kernel access at %x", fault_addr); } - KERNEL_LOCK(LK_CANRECURSE | LK_EXCLUSIVE); + KERNEL_LOCK(); vm = p->p_vmspace; map = kernel_map; @@ -738,7 +738,7 @@ m88110_trap(unsigned type, struct trapframe *frame) panic("trap: bad kernel access at %x", fault_addr); } - KERNEL_LOCK(LK_CANRECURSE | LK_EXCLUSIVE); + KERNEL_LOCK(); vm = p->p_vmspace; map = kernel_map; |