diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-04 06:21:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-04 06:21:53 +0000 |
commit | 514fe3e44e55e12245adaf75a308922952d0815e (patch) | |
tree | 67e82e9010fc0f0af3d00a9fdf941de76d159d3f /sys/arch | |
parent | d976ecae6c5c7e5047b333ca8c7de83acae2055c (diff) |
add a missing mtx_leave before a panic to give ddb/reboot a better
chance of working.
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/alpha/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
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"); } |