From 514fe3e44e55e12245adaf75a308922952d0815e Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 4 Dec 2015 06:21:53 +0000 Subject: add a missing mtx_leave before a panic to give ddb/reboot a better chance of working. ok deraadt@ --- sys/arch/alpha/alpha/pmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c index 4f8895a314f..03ba9aae523 100644 --- a/sys/arch/alpha/alpha/pmap.c +++ b/sys/arch/alpha/alpha/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.80 2015/10/01 16:03:48 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.81 2015/12/04 06:21:52 jsg Exp $ */ /* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */ /*- @@ -3061,6 +3061,7 @@ pmap_growkernel(vaddr_t maxkvaddr) return (pmap_maxkvaddr); die: + mtx_leave(&pmap_growkernel_mtx); panic("pmap_growkernel: out of memory"); } -- cgit v1.2.3